Struct hyper::header::HeaderView [] [src]

pub struct HeaderView<'a>(_, _);

Returned with the HeadersItems iterator.

Methods

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

Check if a HeaderView is a certain Header.

Get the Header name as a slice.

Cast the value to a certain Header type.

Get just the header value as a String.

This will join multiple values of this header with a ,.

Warning: This may not be the format that should be used to send a Request or Response.

Access the raw value of the header.

Trait Implementations

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

Formats the value using the given formatter. Read more

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

Formats the value using the given formatter. Read more

impl<'a> Extend<HeaderView<'a>> for Headers
[src]

Extends a collection with the contents of an iterator. Read more

impl<'a> FromIterator<HeaderView<'a>> for Headers
[src]

Creates a value from an iterator. Read more

Auto Trait Implementations

impl<'a> !Send for HeaderView<'a>

impl<'a> !Sync for HeaderView<'a>