pub struct LinkInfo {
pub id: u32,
pub name: String,
pub flags: LinkFlags,
pub class: LinkClass,
pub state: LinkState,
pub mac: [u8; 6],
pub mtu: Option<u32>,
pub over: u32,
}
Expand description
Information about a datalink.
Fields§
§id: u32
§name: String
§flags: LinkFlags
§class: LinkClass
§state: LinkState
§mac: [u8; 6]
§mtu: Option<u32>
§over: u32
Implementations§
Trait Implementations§
impl Eq for LinkInfo
impl StructuralPartialEq for LinkInfo
Auto Trait Implementations§
impl Freeze for LinkInfo
impl RefUnwindSafe for LinkInfo
impl Send for LinkInfo
impl Sync for LinkInfo
impl Unpin for LinkInfo
impl UnwindSafe for LinkInfo
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