Trait hyper::header::HeaderFormat
[-] [+]
[src]
pub trait HeaderFormat: Debug + HeaderClone + Any + Send + Sync { fn fmt_header(&self, fmt: &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, fmt: &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.
Implementors
impl HeaderFormat for AccessControlAllowHeaders
impl HeaderFormat for AccessControlAllowMethods
impl HeaderFormat for AccessControlAllowOrigin
impl HeaderFormat for AccessControlMaxAge
impl HeaderFormat for AccessControlRequestHeaders
impl HeaderFormat for AccessControlRequestMethod
impl HeaderFormat for AccessControlAllowHeaders
impl HeaderFormat for AccessControlAllowMethods
impl HeaderFormat for AccessControlAllowOrigin
impl HeaderFormat for AccessControlMaxAge
impl HeaderFormat for AccessControlRequestHeaders
impl HeaderFormat for AccessControlRequestMethod
impl HeaderFormat for Accept
impl HeaderFormat for AcceptCharset
impl HeaderFormat for AcceptEncoding
impl HeaderFormat for AcceptLanguage
impl HeaderFormat for Allow
impl<S: Scheme + 'static> HeaderFormat for Authorization<S> where <S as FromStr>::Err: 'static
impl HeaderFormat for CacheControl
impl HeaderFormat for Cookie
impl HeaderFormat for Connection
impl HeaderFormat for ContentLength
impl HeaderFormat for ContentType
impl HeaderFormat for Date
impl HeaderFormat for Etag
impl HeaderFormat for Expires
impl HeaderFormat for Host
impl HeaderFormat for IfMatch
impl HeaderFormat for LastModified
impl HeaderFormat for IfModifiedSince
impl HeaderFormat for IfNoneMatch
impl HeaderFormat for IfUnmodifiedSince
impl HeaderFormat for Location
impl HeaderFormat for Pragma
impl HeaderFormat for Referer
impl HeaderFormat for Server
impl HeaderFormat for SetCookie
impl HeaderFormat for TransferEncoding
impl HeaderFormat for Upgrade
impl HeaderFormat for UserAgent
impl HeaderFormat for Vary
impl HeaderFormat for AccessControlAllowHeaders
impl HeaderFormat for AccessControlAllowMethods
impl HeaderFormat for AccessControlAllowOrigin
impl HeaderFormat for AccessControlMaxAge
impl HeaderFormat for AccessControlRequestHeaders
impl HeaderFormat for AccessControlRequestMethod
impl HeaderFormat for Accept
impl HeaderFormat for AcceptCharset
impl HeaderFormat for AcceptEncoding
impl HeaderFormat for AcceptLanguage
impl HeaderFormat for Allow
impl<S: Scheme + 'static> HeaderFormat for Authorization<S> where <S as FromStr>::Err: 'static
impl HeaderFormat for CacheControl
impl HeaderFormat for Cookie
impl HeaderFormat for Connection
impl HeaderFormat for ContentLength
impl HeaderFormat for ContentType
impl HeaderFormat for Date
impl HeaderFormat for Etag
impl HeaderFormat for Expires
impl HeaderFormat for Host
impl HeaderFormat for IfMatch
impl HeaderFormat for LastModified
impl HeaderFormat for IfModifiedSince
impl HeaderFormat for IfNoneMatch
impl HeaderFormat for IfUnmodifiedSince
impl HeaderFormat for Location
impl HeaderFormat for Pragma
impl HeaderFormat for Referer
impl HeaderFormat for Server
impl HeaderFormat for SetCookie
impl HeaderFormat for TransferEncoding
impl HeaderFormat for Upgrade
impl HeaderFormat for UserAgent
impl HeaderFormat for Vary