Trait hyper::header::HeaderFormat
[−]
[src]
pub trait HeaderFormat: Debug + HeaderClone + Any + Typeable + Send + Sync { fn fmt_header(&self, f: &mut Formatter) -> Result; }
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.
Required Methods
fn fmt_header(&self, f: &mut Formatter) -> Result
Format a header to be output into a TcpStream.
This method is not allowed to introduce an Err not produced by the passed-in Formatter.
Trait Implementations
impl<'a> Display for &'a HeaderFormat + Send + Sync
Implementors
impl HeaderFormat for Accept
impl HeaderFormat for AccessControlAllowCredentials
impl HeaderFormat for AccessControlAllowHeaders
impl HeaderFormat for AccessControlAllowMethods
impl HeaderFormat for AccessControlAllowOrigin
impl HeaderFormat for AccessControlExposeHeaders
impl HeaderFormat for AccessControlMaxAge
impl HeaderFormat for AccessControlRequestHeaders
impl HeaderFormat for AccessControlRequestMethod
impl HeaderFormat for AcceptCharset
impl HeaderFormat for AcceptEncoding
impl HeaderFormat for AcceptLanguage
impl HeaderFormat for AcceptRanges
impl HeaderFormat for Allow
impl<S: Scheme + Any> HeaderFormat for Authorization<S> where S::Err: 'static
impl HeaderFormat for CacheControl
impl HeaderFormat for Cookie
impl HeaderFormat for Connection
impl HeaderFormat for ContentDisposition
impl HeaderFormat for ContentEncoding
impl HeaderFormat for ContentLanguage
impl HeaderFormat for ContentLength
impl HeaderFormat for ContentRange
impl HeaderFormat for ContentType
impl HeaderFormat for Date
impl HeaderFormat for ETag
impl HeaderFormat for Expect
impl HeaderFormat for Expires
impl HeaderFormat for From
impl HeaderFormat for Host
impl HeaderFormat for IfMatch
impl HeaderFormat for IfModifiedSince
impl HeaderFormat for IfNoneMatch
impl HeaderFormat for IfRange
impl HeaderFormat for IfUnmodifiedSince
impl HeaderFormat for LastModified
impl HeaderFormat for Location
impl HeaderFormat for Pragma
impl HeaderFormat for Range
impl HeaderFormat for Referer
impl HeaderFormat for Server
impl HeaderFormat for SetCookie
impl HeaderFormat for StrictTransportSecurity
impl HeaderFormat for TransferEncoding
impl HeaderFormat for Upgrade
impl HeaderFormat for UserAgent
impl HeaderFormat for Vary