Struct iron::headers::HeaderView [] [src]

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

Returned with the HeadersItems iterator.

Methods

impl<'a> HeaderView<'a>

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.

Trait Implementations

impl<'a> Display for HeaderView<'a>

Formats the value using the given formatter.

impl<'a> Debug for HeaderView<'a>

Formats the value using the given formatter.