[−][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<'section>(
&'section self
) -> Option<&'section SectionHeaderBlock<'section>>
[src]
&'section self
) -> Option<&'section SectionHeaderBlock<'section>>
Returns the section header
ⓘImportant traits for SectionBlockIterator<'a>pub fn iter(&'a self) -> SectionBlockIterator<'a>
[src]
ⓘImportant traits for SectionBlockIterator<'a>
Returns an iterator over the section blocks
ⓘImportant traits for InterfaceBlockIterator<'a>pub fn iter_interfaces(&'a self) -> InterfaceBlockIterator<'a>
[src]
ⓘImportant traits for InterfaceBlockIterator<'a>
Returns an iterator over the interface description blocks
Auto Trait Implementations
impl<'a> Sync for Section<'a>
impl<'a> Unpin for Section<'a>
impl<'a> Send for Section<'a>
impl<'a> UnwindSafe for Section<'a>
impl<'a> RefUnwindSafe for Section<'a>
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
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> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,