Header

Type Alias Header 

Source
pub type Header<O, B> = BoxedHeader<O, B>;
Expand description

Convenience type preferring BoxedHeader when available.

Aliased Type§

pub enum Header<O, B> {
    Repr(Box<O>),
    Raw(B),
}

Variants§

§

Repr(Box<O>)

Owned, in-memory representation of a header.

§

Raw(B)

Packed representation of a header, read from an existing buffer.