Trait embedded_svc::ipv4::Interface

source ·
pub trait Interface {
    type Error;

    // Required methods
    fn get_iface_configuration(&self) -> Result<Configuration, Self::Error>;
    fn set_iface_configuration(
        &mut self,
        conf: &Configuration,
    ) -> Result<(), Self::Error>;
    fn is_iface_up(&self) -> bool;
    fn get_ip_info(&self) -> Result<IpInfo, Self::Error>;
}

Required Associated Types§

Required Methods§

source

fn get_iface_configuration(&self) -> Result<Configuration, Self::Error>

source

fn set_iface_configuration( &mut self, conf: &Configuration, ) -> Result<(), Self::Error>

source

fn is_iface_up(&self) -> bool

source

fn get_ip_info(&self) -> Result<IpInfo, Self::Error>

Implementors§