Struct http2parse::FrameHeader [] [src]

pub struct FrameHeader {
    pub length: u32,
    pub kind: Kind,
    pub flag: Flag,
    pub id: StreamIdentifier,
}

Fields

length: u32 kind: Kind flag: Flag id: StreamIdentifier

Methods

impl FrameHeader
[src]

fn parse(buf: &[u8]) -> Result<FrameHeaderError>

fn encode(&self, buf: &mut [u8])

Trait Implementations

impl Hash for FrameHeader
[src]

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

Feeds this value into the state given, updating the hasher as necessary.

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0

Feeds a slice of this type into the state provided.

impl Eq for FrameHeader
[src]

impl PartialEq for FrameHeader
[src]

fn eq(&self, __arg_0: &FrameHeader) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &FrameHeader) -> bool

This method tests for !=.

impl Debug for FrameHeader
[src]

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

Formats the value using the given formatter.

impl Clone for FrameHeader
[src]

fn clone(&self) -> FrameHeader

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Copy for FrameHeader
[src]