pub trait Connect {
    type Proxy: Proxy;

    // Required method
    fn connect(&self) -> Result<Self::Proxy, Error>;
}
Expand description

A trait that manages connecting to service.

Required Associated Types§

source

type Proxy: Proxy

Connect to this FIDL service.

Required Methods§

source

fn connect(&self) -> Result<Self::Proxy, Error>

Connect to the proxy, or return an error.

Implementors§