pub struct PcapNGHeader {
pub magic_number: u32,
pub version_major: u16,
pub version_minor: u16,
pub thiszone: i32,
pub sigfigs: u32,
pub snaplen: u32,
pub network: u32,
}
Fields§
§magic_number: u32
§version_major: u16
§version_minor: u16
§thiszone: i32
§sigfigs: u32
§snaplen: u32
max len of captured packets, in octets
network: u32
Data link type
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PcapNGHeader
impl RefUnwindSafe for PcapNGHeader
impl Send for PcapNGHeader
impl Sync for PcapNGHeader
impl Unpin for PcapNGHeader
impl UnwindSafe for PcapNGHeader
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