Struct pcap_parser::pcapng::InterfaceDescriptionBlock  
source · [−]pub struct InterfaceDescriptionBlock<'a> {
    pub block_type: u32,
    pub block_len1: u32,
    pub linktype: Linktype,
    pub reserved: u16,
    pub snaplen: u32,
    pub options: Vec<PcapNGOption<'a>>,
    pub block_len2: u32,
    pub if_tsresol: u8,
    pub if_tsoffset: u64,
}Expand description
An Interface Description Block (IDB) is the container for information describing an interface on which packet data is captured.
Fields
block_type: u32block_len1: u32linktype: Linktypereserved: u16snaplen: u32options: Vec<PcapNGOption<'a>>block_len2: u32if_tsresol: u8if_tsoffset: u64Trait Implementations
sourceimpl<'a> Debug for InterfaceDescriptionBlock<'a>
 
impl<'a> Debug for InterfaceDescriptionBlock<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for InterfaceDescriptionBlock<'a>
impl<'a> Send for InterfaceDescriptionBlock<'a>
impl<'a> Sync for InterfaceDescriptionBlock<'a>
impl<'a> Unpin for InterfaceDescriptionBlock<'a>
impl<'a> UnwindSafe for InterfaceDescriptionBlock<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
    T: ?Sized, 
 
impl<T> BorrowMut<T> for T where
    T: ?Sized, 
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more