fidl_fuchsia_netemul_network

Trait EndpointProxyInterface

Source
pub trait EndpointProxyInterface: Send + Sync {
    type GetConfigResponseFut: Future<Output = Result<EndpointConfig, Error>> + Send;
    type GetNameResponseFut: Future<Output = Result<String, Error>> + Send;
    type SetLinkUpResponseFut: Future<Output = Result<(), Error>> + Send;

    // Required methods
    fn get_config(&self) -> Self::GetConfigResponseFut;
    fn get_name(&self) -> Self::GetNameResponseFut;
    fn set_link_up(&self, up: bool) -> Self::SetLinkUpResponseFut;
    fn get_port(&self, port: ServerEnd<PortMarker>) -> Result<(), Error>;
    fn get_proxy_(
        &self,
        proxy: ServerEnd<DeviceProxy_Marker>,
    ) -> Result<(), Error>;
}

Required Associated Types§

Required Methods§

Source

fn get_config(&self) -> Self::GetConfigResponseFut

Source

fn get_name(&self) -> Self::GetNameResponseFut

Source

fn get_port(&self, port: ServerEnd<PortMarker>) -> Result<(), Error>

Source

fn get_proxy_(&self, proxy: ServerEnd<DeviceProxy_Marker>) -> Result<(), Error>

Implementors§