#[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.
Obtain the index of this interface.
Obtain the name of this interface.
Formats the value using the given formatter. Read more
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.