[−][src]Struct pcap_parser::pcapng::Section
A Section (including all blocks) from a PcapNG file
Fields
blocks: Vec<Block<'a>>
The list of blocks
big_endian: bool
True if encoding is big-endian
Methods
impl<'a> Section<'a>
[src]
pub fn header(&self) -> Option<&SectionHeaderBlock>
[src]
Returns the section header
pub fn iter(&'a self) -> SectionBlockIterator<'a>
[src]
Returns an iterator over the section blocks
pub fn iter_interfaces(&'a self) -> InterfaceBlockIterator<'a>
[src]
Returns an iterator over the interface description blocks
Auto Trait Implementations
impl<'a> RefUnwindSafe for Section<'a>
impl<'a> Send for Section<'a>
impl<'a> Sync for Section<'a>
impl<'a> Unpin for Section<'a>
impl<'a> UnwindSafe for Section<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,