pub fn connect_request_to_protocol_at_exposed_dir<S: DiscoverableService>(
        &self,
        server_end: ServerEnd<S>,
    ) -> Result<(), anyhow::Error> {
        self.connect_request_to_named_service_at_exposed_dir(
            S::SERVICE_NAME,
            server_end.into_channel(),
        )
    }
/// Connects to an instance of a FIDL protocol hosted in the component's exposed directory
/// using the given `server_end`.
Connects to an instance of a FIDL protocol hosted in the component's exposed directory
using the given `server_end`.
Connects to an instance of a FIDL protocol hosted in the component ' s exposed directory using the given ` server_end ` .
pub fn connect_request_to_protocol_at_exposed_dir<S: DiscoverableService>(
        &self,
        server_end: ServerEnd<S>,
    ) -> Result<(), anyhow::Error> {
        self.connect_request_to_named_service_at_exposed_dir(
            S::SERVICE_NAME,
            server_end.into_channel(),
        )
    }
pub fn connect_request_to_protocol_at_exposed_dir < S : DiscoverableService > ( & self , server_end : ServerEnd < S > , ) -> Result < ( ) , anyhow :: Error > { self . connect_request_to_named_service_at_exposed_dir ( S :: SERVICE_NAME , server_end . into_channel ( ) , ) }
Connects to an instance of a FIDL protocol hosted in the component's exposed directory
using the given `server_end`.
Connects to an instance of a FIDL protocol hosted in the component ' s exposed directory using the given ` server_end ` .
&self
server_end
ServerEnd<S>
&self
server_end
ServerEnd<S>