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§

source§

impl EndpointProxyInterface for EndpointProxy

§

type GetConfigResponseFut = QueryResponseFut<EndpointConfig>

§

type GetNameResponseFut = QueryResponseFut<String>

§

type SetLinkUpResponseFut = QueryResponseFut<()>