pub fn take_and_serve_directory_handle(&mut self) -> Result<&mut Self, Error> {
        let startup_handle =
            fuchsia_runtime::take_startup_handle(fuchsia_runtime::HandleType::DirectoryRequest)
                .ok_or(MissingStartupHandle)?;

        self.serve_connection(zx::Channel::from(startup_handle))
    }
/// Removes the `DirectoryRequest` startup handle for the current
/// component and adds connects it to this `ServiceFs` as a client.
///
/// Multiple calls to this function from the same component will
/// result in `Err(MissingStartupHandle)`.
Removes the `DirectoryRequest` startup handle for the current
component and adds connects it to this `ServiceFs` as a client.

Multiple calls to this function from the same component will
result in `Err(MissingStartupHandle)`.
Removes the ` DirectoryRequest ` startup handle for the current component and adds connects it to this ` ServiceFs ` as a client . Multiple calls to this function from the same component will result in ` Err ( MissingStartupHandle ) ` .
pub fn take_and_serve_directory_handle(&mut self) -> Result<&mut Self, Error> {
        let startup_handle =
            fuchsia_runtime::take_startup_handle(fuchsia_runtime::HandleType::DirectoryRequest)
                .ok_or(MissingStartupHandle)?;
        self.serve_connection(zx::Channel::from(startup_handle))
    }
pub fn take_and_serve_directory_handle ( & mut self ) -> Result < & mut Self , Error > { let startup_handle = fuchsia_runtime :: take_startup_handle ( fuchsia_runtime :: HandleType :: DirectoryRequest ) . ok_or ( MissingStartupHandle ) ? ; self . serve_connection ( zx :: Channel :: from ( startup_handle ) ) }
Removes the `DirectoryRequest` startup handle for the current
component and adds connects it to this `ServiceFs` as a client.
Removes the ` DirectoryRequest ` startup handle for the current component and adds connects it to this ` ServiceFs ` as a client .
&mut self
&mut self