StateProxyInterface

Trait StateProxyInterface 

Source
pub trait StateProxyInterface: Send + Sync {
    type GetInterfaceDefaultsResponseFut: Future<Output = Result<Configuration, Error>> + Send;
    type GetTcpResponseFut: Future<Output = Result<Tcp, Error>> + Send;
    type GetUdpResponseFut: Future<Output = Result<Udp, Error>> + Send;
    type GetIcmpResponseFut: Future<Output = Result<Icmp, Error>> + Send;
    type GetIpResponseFut: Future<Output = Result<Ip, Error>> + Send;
    type GetDeviceResponseFut: Future<Output = Result<Device, Error>> + Send;

    // Required methods
    fn get_interface_defaults(&self) -> Self::GetInterfaceDefaultsResponseFut;
    fn get_tcp(&self) -> Self::GetTcpResponseFut;
    fn get_udp(&self) -> Self::GetUdpResponseFut;
    fn get_icmp(&self) -> Self::GetIcmpResponseFut;
    fn get_ip(&self) -> Self::GetIpResponseFut;
    fn get_device(&self) -> Self::GetDeviceResponseFut;
}

Required Associated Types§

Required Methods§

Implementors§