fn connect_to_env_service<P>(&self) -> Result<P>
    where
        P: fidl::endpoints::Proxy,
        P::Protocol: fidl::endpoints::DiscoverableProtocolMarker,
    {
        fx_log_debug!("Connecting to nested environment's {}", P::Protocol::DEBUG_NAME);
        self.env.connect_to_protocol::<P::Protocol>().with_context(|| {
            format!("Failed to connect to nested environment's {}", P::Protocol::DEBUG_NAME)
        })
    }
/// Connects to the given discoverable service in the `NestedEnvironment`, with a readable
/// context on error.
Connects to the given discoverable service in the `NestedEnvironment`, with a readable
context on error.
Connects to the given discoverable service in the ` NestedEnvironment ` with a readable context on error .
fn connect_to_env_service<P>(&self) -> Result<P>
    where
        P: fidl::endpoints::Proxy,
        P::Protocol: fidl::endpoints::DiscoverableProtocolMarker,
    {
        fx_log_debug!("Connecting to nested environment's {}", P::Protocol::DEBUG_NAME);
        self.env.connect_to_protocol::<P::Protocol>().with_context(|| {
            format!("Failed to connect to nested environment's {}", P::Protocol::DEBUG_NAME)
        })
    }
fn connect_to_env_service < P > ( & self ) -> Result < P > where P : fidl :: endpoints :: Proxy , P :: Protocol : fidl :: endpoints :: DiscoverableProtocolMarker , { fx_log_debug ! ( " " P Protocol DEBUG_NAME ) ; self . env . connect_to_protocol :: < P :: Protocol > ( ) . with_context ( | | { format ! ( " " P Protocol DEBUG_NAME ) } ) }
Connects to the given discoverable service in the `NestedEnvironment`, with a readable
context on error.
Connects to the given discoverable service in the ` NestedEnvironment ` with a readable context on error .
&self
&self