pub trait HeaderFormat:
Debug
+ HeaderClone
+ Any
+ Typeable
+ Send
+ Sync {
// Required method
fn fmt_header(&self, f: &mut Formatter<'_>) -> Result<(), Error>;
}
Expand description
A trait for any object that will represent a header field and value.
This trait represents the formatting of a Header
for output to a TcpStream.