pub struct InterfaceInfo {
pub link_type: Linktype,
pub if_tsresol: u8,
pub ts_unit: u64,
pub if_tsoffset: u64,
pub snaplen: u32,
}Expand description
Information related to a network interface used for capture
Fields§
§link_type: LinktypeThe Linktype used for data format
if_tsresol: u8Time resolution
ts_unit: u64Time resolution unit
if_tsoffset: u64Time offset
snaplen: u32Maximum number of octets captured from each packet.
Trait Implementations§
Source§impl Clone for InterfaceInfo
impl Clone for InterfaceInfo
Source§fn clone(&self) -> InterfaceInfo
fn clone(&self) -> InterfaceInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto 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