#[repr(transparent)]pub struct Interface(_);
Available on crate feature
net
only.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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more