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

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

Returned with the HeadersItems iterator.

Implementations

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.

Trait Implementations

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

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

🔬 This is a nightly-only experimental API. (extend_one)

Extends a collection with exactly one element.

🔬 This is a nightly-only experimental API. (extend_one)

Reserves capacity in a collection for the given number of additional elements. Read more

Creates a value from an iterator. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Get the TypeId of this object.