Struct pcapng::block::RawBlock [] [src]

pub struct RawBlock<'a> {
    pub ty: u32,
    pub block_length: u32,
    pub body: &'a [u8],
    pub check_length: u32,
}

Public representation of a parsed block

Fields

ty
block_length
body
check_length

Methods

impl<'a> RawBlock<'a>

fn parse(self) -> Block<'a>

Trait Implementations

Derived Implementations

impl<'a> Debug for RawBlock<'a>

fn fmt(&self, __arg_0: &mut Formatter) -> Result