[][src]Struct pcap_parser::pcapng::EnhancedPacketBlock

pub struct EnhancedPacketBlock<'a> {
    pub block_type: u32,
    pub block_len1: u32,
    pub if_id: u32,
    pub ts_high: u32,
    pub ts_low: u32,
    pub caplen: u32,
    pub origlen: u32,
    pub data: &'a [u8],
    pub options: Vec<PcapNGOption<'a>>,
    pub block_len2: u32,
}

Fields

block_type: u32block_len1: u32if_id: u32ts_high: u32ts_low: u32caplen: u32

Captured packet length

origlen: u32

Original packet length

data: &'a [u8]options: Vec<PcapNGOption<'a>>block_len2: u32

Auto Trait Implementations

impl<'a> Sync for EnhancedPacketBlock<'a>

impl<'a> Send for EnhancedPacketBlock<'a>

impl<'a> Unpin for EnhancedPacketBlock<'a>

impl<'a> RefUnwindSafe for EnhancedPacketBlock<'a>

impl<'a> UnwindSafe for EnhancedPacketBlock<'a>

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]