Struct nix::net::if_::Interface
#[repr(transparent)]
pub struct Interface(_);Documentation
A network interface. Has a name like “eth0” or “wlp4s0” or “wlan0”, as well as an index (1, 2, 3, etc) that identifies it in the OS’s networking stack.
Implementations
Trait Implementations
impl Debug for Interface
fn fmt(&Self, f: &mut fmt::Formatter<'_>) -> fmt::ResultAuto Trait Implementations
impl RefUnwindSafe for Interfaceimpl UnwindSafe for InterfaceBlanket Implementations
impl<T> BorrowMut<T> for T
where
T: ?Sized,
where
T: ?Sized,
fn borrow_mut(&mut Self) -> &mut T