#[repr(transparent)]pub struct Interface(_);
Expand description
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
Auto Trait Implementations
impl RefUnwindSafe for Interface
impl !Send for Interface
impl !Sync for Interface
impl Unpin for Interface
impl UnwindSafe for Interface
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more