Struct edge::header::HeaderFormatter
[−]
[src]
pub struct HeaderFormatter<'a, H>(pub &'a H)
where
H: HeaderFormat;
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 representation of a Header which will be written to an
outgoing TcpStream.
Trait Implementations
impl<'a, H> Display for HeaderFormatter<'a, H> where
H: HeaderFormat,
[src]
H: HeaderFormat,
impl<'a, H> Debug for HeaderFormatter<'a, H> where
H: HeaderFormat,
[src]
H: HeaderFormat,