Struct pcap_parser::pcapng::Section[][src]

pub struct Section<'a> {
    pub blocks: Vec<Block<'a>>,
    pub big_endian: bool,
}
Expand description

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

Implementations

Returns the section header

Returns an iterator over the section blocks

Returns an iterator over the interface description blocks

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.