pub struct Linktype(pub i32);
Expand description
This is a datalink link type.
As an example, Linktype(1)
is ethernet. A full list of linktypes is available
here.
Tuple Fields§
§0: i32
Implementations§
Trait Implementations§
impl Eq for Linktype
impl StructuralPartialEq for Linktype
Auto Trait Implementations§
impl Freeze for Linktype
impl RefUnwindSafe for Linktype
impl Send for Linktype
impl Sync for Linktype
impl Unpin for Linktype
impl UnwindSafe for Linktype
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