pub fn start_services_list(self) -> Result<(FdioServer, ServiceList), Error> {
            let (chan1, chan2) = zx::Channel::create()?;

            self.start_on_channel(chan1).map(|fdio_server| {
                let names = fdio_server.factories
                                .iter()
                                .map(|x| x.service_name().to_owned())
                                .collect();
                (
                    fdio_server,
                    ServiceList {
                        names,
                        provider: None,
                        host_directory: Some(chan2),
                    },
                )
            })
        }
/// Start serving directory protocol service requests via a `ServiceList`.
/// The resulting `ServiceList` can be attached to a new environment in
/// order to provide child components with access to these services.
Start serving directory protocol service requests via a `ServiceList`.
The resulting `ServiceList` can be attached to a new environment in
order to provide child components with access to these services.
Start serving directory protocol service requests via a ` ServiceList ` . The resulting ` ServiceList ` can be attached to a new environment in order to provide child components with access to these services .
pub fn start_services_list(self) -> Result<(FdioServer, ServiceList), Error> {
            let (chan1, chan2) = zx::Channel::create()?;
            self.start_on_channel(chan1).map(|fdio_server| {
                let names = fdio_server.factories
                                .iter()
                                .map(|x| x.service_name().to_owned())
                                .collect();
                (
                    fdio_server,
                    ServiceList {
                        names,
                        provider: None,
                        host_directory: Some(chan2),
                    },
                )
            })
        }
pub fn start_services_list ( self ) -> Result < ( FdioServer , ServiceList ) , Error > { let ( chan1 , chan2 ) = zx :: Channel :: create ( ) ? ; self . start_on_channel ( chan1 ) . map ( | fdio_server | { let names = fdio_server . factories . iter ( ) . map ( | x | x . service_name ( ) . to_owned ( ) ) . collect ( ) ; ( fdio_server , ServiceList { names , provider : None , host_directory : Some ( chan2 ) , } , ) } ) }
Start serving directory protocol service requests via a `ServiceList`.
Start serving directory protocol service requests via a ` ServiceList ` .
self
self