Struct cocaine::hpack::RawHeader[][src]

pub struct RawHeader {
    pub name: Cow<'static, [u8]>,
    pub data: Cow<'static, [u8]>,
}

Raw HPACK header.

Fields

Header name.

Header value.

Methods

impl RawHeader
[src]

Constructs a raw HPACK header using the specified name and value.

Trait Implementations

impl Clone for RawHeader
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for RawHeader
[src]

Formats the value using the given formatter. Read more

impl PartialEq for RawHeader
[src]

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

This method tests for !=.

Auto Trait Implementations

impl Send for RawHeader

impl Sync for RawHeader