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: u32
block_len1: u32
linktype: Linktype
reserved: u16
snaplen: u32
options: Vec<PcapNGOption<'a>>
block_len2: u32
if_tsresol: u8
if_tsoffset: u64
Implementations
sourceimpl<'a> InterfaceDescriptionBlock<'a>
impl<'a> InterfaceDescriptionBlock<'a>
Trait Implementations
sourceimpl<'a> Debug for InterfaceDescriptionBlock<'a>
impl<'a> Debug for InterfaceDescriptionBlock<'a>
sourceimpl<'a> ToVec for InterfaceDescriptionBlock<'a>
Available on crate feature serialize
only.
impl<'a> ToVec for InterfaceDescriptionBlock<'a>
Available on crate feature
serialize
only.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