Struct pcap_parser::PcapNGCapture
source · [−]Expand description
Generic interface for PCAPNG file access
Fields
sections: Vec<Section<'a>>
Implementations
sourceimpl<'a> PcapNGCapture<'a>
impl<'a> PcapNGCapture<'a>
pub fn from_file(i: &[u8]) -> Result<PcapNGCapture<'_>, PcapError<&[u8]>>
pub fn iter(&'a self) -> PcapNGCaptureIterator<'a>ⓘNotable traits for PcapNGCaptureIterator<'a>impl<'a> Iterator for PcapNGCaptureIterator<'a> type Item = PcapBlock<'a>;
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for PcapNGCapture<'a>
impl<'a> Send for PcapNGCapture<'a>
impl<'a> Sync for PcapNGCapture<'a>
impl<'a> Unpin for PcapNGCapture<'a>
impl<'a> UnwindSafe for PcapNGCapture<'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