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]

[src]

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

Trait Implementations

impl Clone for RawHeader
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for RawHeader
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for RawHeader
[src]

[src]

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

[src]

This method tests for !=.