fidl_connector

Trait Connect

Source
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§