[][src]Struct iron::headers::HeaderFormatter

pub struct HeaderFormatter<'a, H>(pub &'a H)
where
    H: HeaderFormat + 'a
;
Deprecated:

The semantics of formatting a HeaderFormat directly are not clear

A wrapper around any Header with a Display impl that calls fmt_header.

This can be used like so: format!("{}", HeaderFormatter(&header)) to get the 'value string' representation of this Header.

Note: This may not necessarily be the value written to stream, such as with the SetCookie header.

Trait Implementations

impl<'a, H> Display for HeaderFormatter<'a, H> where
    H: HeaderFormat
[src]

impl<'a, H> Debug for HeaderFormatter<'a, H> where
    H: HeaderFormat
[src]

Auto Trait Implementations

impl<'a, H> Unpin for HeaderFormatter<'a, H>

impl<'a, H> Sync for HeaderFormatter<'a, H>

impl<'a, H> Send for HeaderFormatter<'a, H>

impl<'a, H> UnwindSafe for HeaderFormatter<'a, H> where
    H: RefUnwindSafe

impl<'a, H> RefUnwindSafe for HeaderFormatter<'a, H> where
    H: RefUnwindSafe

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> Borrow<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.

impl<T> DebugAny for T where
    T: Any + Debug
[src]

impl<T> UnsafeAny for T where
    T: Any