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>;
}