// Takes a ServiceFs and creates a nested environment which we'll later use for connecting
// to the ThermalStateHandler node's implementation of the
// `fuchsia.thermal.ClientStateConnector` protocol.
Takes a ServiceFs and creates a nested environment which we'll later use for connecting
to the ThermalStateHandler node's implementation of the
`fuchsia.thermal.ClientStateConnector` protocol.
Takes a ServiceFs and creates a nested environment which we ' ll later use for connecting to the ThermalStateHandler node ' s implementation of the ` fuchsia . thermal . ClientStateConnector ` protocol .
fn new(mut service_fs: ServiceFs<ServiceObjLocal<'static, ()>>) -> Self {
            let env = service_fs.create_nested_environment("env").unwrap();
            fasync::Task::local(service_fs.collect()).detach();
            Self { env }
        }
fn new ( mut service_fs : ServiceFs < ServiceObjLocal < ' static , ( ) > > ) -> Self { let env = service_fs . create_nested_environment ( " " ) . unwrap ( ) ; fasync :: Task :: local ( service_fs . collect ( ) ) . detach ( ) ; Self { env } }
Takes a ServiceFs and creates a nested environment which we'll later use for connecting
to the ThermalStateHandler node's implementation of the
`fuchsia.thermal.ClientStateConnector` protocol.
Takes a ServiceFs and creates a nested environment which we ' ll later use for connecting to the ThermalStateHandler node ' s implementation of the ` fuchsia . thermal . ClientStateConnector ` protocol .
service_fs
ServiceFs<ServiceObjLocal<'static, ()>>