Struct httpcodec::Header [] [src]

pub struct Header<'a> { /* fields omitted */ }

HTTP header.

Methods

impl<'a> Header<'a>
[src]

Important traits for HeaderFields<'a>
[src]

Returns an iterator over the fields in the header.

[src]

Returns the value of the first field that has the name name in the header.

Note that header names are compared by using str::eq_ignore_ascii_case method.

[src]

Returns the parsed result of the value of the first field that has the name name in the header.

Note that header names are compared by using str::eq_ignore_ascii_case method.

Trait Implementations

impl<'a> Debug for Header<'a>
[src]

[src]

Formats the value using the given formatter. Read more

impl<'a> Display for Header<'a>
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<'a> Send for Header<'a>

impl<'a> Sync for Header<'a>