pub struct InterfaceInfo {
pub link_type: Linktype,
pub if_tsresol: u8,
pub if_tsoffset: u64,
pub snaplen: u32,
}
Fields§
§link_type: Linktype
§if_tsresol: u8
§if_tsoffset: u64
§snaplen: u32
Implementations§
Source§impl InterfaceInfo
impl InterfaceInfo
pub fn new() -> InterfaceInfo
Auto Trait Implementations§
impl Freeze for InterfaceInfo
impl RefUnwindSafe for InterfaceInfo
impl Send for InterfaceInfo
impl Sync for InterfaceInfo
impl Unpin for InterfaceInfo
impl UnwindSafe for InterfaceInfo
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