pub trait ServiceConnector<S: ProtocolMarker> {
    // Required method
    fn connect<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<S::Proxy, Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}
Expand description

An interface for acquiring a proxy to a FIDL service.

Required Methods§

source

fn connect<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = Result<S::Proxy, Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Acquires a proxy to the parameterized FIDL interface.

Implementors§