[][src]Trait pcap_parser::Capture

pub trait Capture {
    pub fn get_datalink(&self) -> Linktype;
pub fn get_snaplen(&self) -> u32;
pub fn iter<'a>(&'a self) -> Box<dyn Iterator<Item = PcapBlock<'_>> + 'a>; }

Generic interface for PCAP or PCAPNG file access

Required methods

pub fn get_snaplen(&self) -> u32[src]

pub fn iter<'a>(&'a self) -> Box<dyn Iterator<Item = PcapBlock<'_>> + 'a>[src]

Loading content...

Implementors

impl<'a> Capture for PcapCapture<'a>[src]

Loading content...