Struct httpcodec::HeaderMut
[−]
[src]
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]
F: Into<HeaderField<'n, 'v>>,
Adds the field to the tail of the header.
ⓘImportant traits for HeaderFields<'a>pub fn fields(&self) -> HeaderFields
[src]
ⓘImportant traits for HeaderFields<'a>
Returns an iterator over the fields in the header.
Trait Implementations
impl<'a> Debug for HeaderMut<'a>
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more