Enum pcap_parser::PcapBlockOwned[][src]

pub enum PcapBlockOwned<'a> {
    Legacy(LegacyPcapBlock<'a>),
    LegacyHeader(PcapHeader),
    NG(Block<'a>),
}
Expand description

A block from a Pcap or PcapNG file

Variants

Legacy(LegacyPcapBlock<'a>)

Tuple Fields of Legacy

0: LegacyPcapBlock<'a>
LegacyHeader(PcapHeader)

Tuple Fields of LegacyHeader

0: PcapHeader
NG(Block<'a>)

Tuple Fields of NG

0: Block<'a>

Trait Implementations

Performs the conversion.

Performs the conversion.

Performs the conversion.

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.