[][src]Struct httpcodec::HeaderMut

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

Mutable HTTP header.

Methods

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

pub fn add_field<'n, 'v, F>(&mut self, field: F) -> &mut Self where
    F: Into<HeaderField<'n, 'v>>, 
[src]

Adds the field to the tail of the header.

Important traits for HeaderFields<'a>
pub fn fields(&self) -> HeaderFields[src]

Returns an iterator over the fields in the header.

Trait Implementations

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

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

Auto Trait Implementations

impl<'a> Unpin for HeaderMut<'a>

impl<'a> Send for HeaderMut<'a>

impl<'a> Sync for HeaderMut<'a>

impl<'a> RefUnwindSafe for HeaderMut<'a>

impl<'a> !UnwindSafe for HeaderMut<'a>

Blanket Implementations

impl<T> From<T> for T[src]

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

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

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

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

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