[][src]Struct websocket::header::HeaderView

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.

Trait Implementations

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

Formats the value using the given formatter. Read more

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

Creates a value from an iterator. Read more

impl<'a> Display 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

Auto Trait Implementations

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

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

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

Performs the conversion.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

Converts the given value to a String. Read more

impl<T> From for T
[src]

Performs the conversion.

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

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

The type returned in the event of a conversion error.

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

Performs the conversion.

impl<T> Borrow for T where
    T: ?Sized
[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut for T where
    T: ?Sized
[src]

Mutably borrows from an owned value. Read more

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

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

Performs the conversion.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

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

this method will likely be replaced by an associated static

Gets the TypeId of self. Read more

impl<T> Typeable for T where
    T: Any
[src]

Get the TypeId of this object.

impl<T> Erased for T
[src]