[−][src]Trait hyper::header::HeaderFormat
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 (dyn HeaderFormat + Send + Sync)
[src]
impl<'a> Display for &'a (dyn HeaderFormat + Send + Sync)
Implementors
impl HeaderFormat for AccessControlAllowOrigin
[src]
impl HeaderFormat for AccessControlAllowOrigin
fn fmt_header(&self, f: &mut Formatter) -> Result
[src]
fn fmt_header(&self, f: &mut Formatter) -> Result
impl HeaderFormat for Expect
[src]
impl HeaderFormat for Expect
fn fmt_header(&self, f: &mut Formatter) -> Result
[src]
fn fmt_header(&self, f: &mut Formatter) -> Result
impl HeaderFormat for IfMatch
[src]
impl HeaderFormat for IfMatch
fn fmt_header(&self, f: &mut Formatter) -> Result
[src]
fn fmt_header(&self, f: &mut Formatter) -> Result
impl HeaderFormat for IfNoneMatch
[src]
impl HeaderFormat for IfNoneMatch
fn fmt_header(&self, f: &mut Formatter) -> Result
[src]
fn fmt_header(&self, f: &mut Formatter) -> Result
impl HeaderFormat for IfRange
[src]
impl HeaderFormat for IfRange
fn fmt_header(&self, f: &mut Formatter) -> Result
[src]
fn fmt_header(&self, f: &mut Formatter) -> Result
impl HeaderFormat for Pragma
[src]
impl HeaderFormat for Pragma
fn fmt_header(&self, f: &mut Formatter) -> Result
[src]
fn fmt_header(&self, f: &mut Formatter) -> Result
impl HeaderFormat for Range
[src]
impl HeaderFormat for Range
fn fmt_header(&self, f: &mut Formatter) -> Result
[src]
fn fmt_header(&self, f: &mut Formatter) -> Result
impl HeaderFormat for ReferrerPolicy
[src]
impl HeaderFormat for ReferrerPolicy
fn fmt_header(&self, f: &mut Formatter) -> Result
[src]
fn fmt_header(&self, f: &mut Formatter) -> Result
impl HeaderFormat for Vary
[src]
impl HeaderFormat for Vary
fn fmt_header(&self, f: &mut Formatter) -> Result
[src]
fn fmt_header(&self, f: &mut Formatter) -> Result
impl HeaderFormat for Accept
[src]
impl HeaderFormat for Accept
fn fmt_header(&self, f: &mut Formatter) -> Result
[src]
fn fmt_header(&self, f: &mut Formatter) -> Result
impl HeaderFormat for AcceptCharset
[src]
impl HeaderFormat for AcceptCharset
fn fmt_header(&self, f: &mut Formatter) -> Result
[src]
fn fmt_header(&self, f: &mut Formatter) -> Result
impl HeaderFormat for AcceptEncoding
[src]
impl HeaderFormat for AcceptEncoding
fn fmt_header(&self, f: &mut Formatter) -> Result
[src]
fn fmt_header(&self, f: &mut Formatter) -> Result
impl HeaderFormat for AcceptLanguage
[src]
impl HeaderFormat for AcceptLanguage
fn fmt_header(&self, f: &mut Formatter) -> Result
[src]
fn fmt_header(&self, f: &mut Formatter) -> Result
impl HeaderFormat for AcceptRanges
[src]
impl HeaderFormat for AcceptRanges
fn fmt_header(&self, f: &mut Formatter) -> Result
[src]
fn fmt_header(&self, f: &mut Formatter) -> Result
impl HeaderFormat for AccessControlAllowCredentials
[src]
impl HeaderFormat for AccessControlAllowCredentials
fn fmt_header(&self, f: &mut Formatter) -> Result
[src]
fn fmt_header(&self, f: &mut Formatter) -> Result
impl HeaderFormat for AccessControlAllowHeaders
[src]
impl HeaderFormat for AccessControlAllowHeaders
fn fmt_header(&self, f: &mut Formatter) -> Result
[src]
fn fmt_header(&self, f: &mut Formatter) -> Result
impl HeaderFormat for AccessControlAllowMethods
[src]
impl HeaderFormat for AccessControlAllowMethods
fn fmt_header(&self, f: &mut Formatter) -> Result
[src]
fn fmt_header(&self, f: &mut Formatter) -> Result
impl HeaderFormat for AccessControlExposeHeaders
[src]
impl HeaderFormat for AccessControlExposeHeaders
fn fmt_header(&self, f: &mut Formatter) -> Result
[src]
fn fmt_header(&self, f: &mut Formatter) -> Result
impl HeaderFormat for AccessControlMaxAge
[src]
impl HeaderFormat for AccessControlMaxAge
fn fmt_header(&self, f: &mut Formatter) -> Result
[src]
fn fmt_header(&self, f: &mut Formatter) -> Result
impl HeaderFormat for AccessControlRequestHeaders
[src]
impl HeaderFormat for AccessControlRequestHeaders
fn fmt_header(&self, f: &mut Formatter) -> Result
[src]
fn fmt_header(&self, f: &mut Formatter) -> Result
impl HeaderFormat for AccessControlRequestMethod
[src]
impl HeaderFormat for AccessControlRequestMethod
fn fmt_header(&self, f: &mut Formatter) -> Result
[src]
fn fmt_header(&self, f: &mut Formatter) -> Result
impl HeaderFormat for Allow
[src]
impl HeaderFormat for Allow
fn fmt_header(&self, f: &mut Formatter) -> Result
[src]
fn fmt_header(&self, f: &mut Formatter) -> Result
impl HeaderFormat for CacheControl
[src]
impl HeaderFormat for CacheControl
fn fmt_header(&self, f: &mut Formatter) -> Result
[src]
fn fmt_header(&self, f: &mut Formatter) -> Result
impl HeaderFormat for Connection
[src]
impl HeaderFormat for Connection
fn fmt_header(&self, f: &mut Formatter) -> Result
[src]
fn fmt_header(&self, f: &mut Formatter) -> Result
impl HeaderFormat for ContentDisposition
[src]
impl HeaderFormat for ContentDisposition
fn fmt_header(&self, f: &mut Formatter) -> Result
[src]
fn fmt_header(&self, f: &mut Formatter) -> Result
impl HeaderFormat for ContentEncoding
[src]
impl HeaderFormat for ContentEncoding
fn fmt_header(&self, f: &mut Formatter) -> Result
[src]
fn fmt_header(&self, f: &mut Formatter) -> Result
impl HeaderFormat for ContentLanguage
[src]
impl HeaderFormat for ContentLanguage
fn fmt_header(&self, f: &mut Formatter) -> Result
[src]
fn fmt_header(&self, f: &mut Formatter) -> Result
impl HeaderFormat for ContentLength
[src]
impl HeaderFormat for ContentLength
fn fmt_header(&self, f: &mut Formatter) -> Result
[src]
fn fmt_header(&self, f: &mut Formatter) -> Result
impl HeaderFormat for ContentRange
[src]
impl HeaderFormat for ContentRange
fn fmt_header(&self, f: &mut Formatter) -> Result
[src]
fn fmt_header(&self, f: &mut Formatter) -> Result
impl HeaderFormat for ContentType
[src]
impl HeaderFormat for ContentType
fn fmt_header(&self, f: &mut Formatter) -> Result
[src]
fn fmt_header(&self, f: &mut Formatter) -> Result
impl HeaderFormat for Cookie
[src]
impl HeaderFormat for Cookie
fn fmt_header(&self, f: &mut Formatter) -> Result
[src]
fn fmt_header(&self, f: &mut Formatter) -> Result
impl HeaderFormat for Date
[src]
impl HeaderFormat for Date
fn fmt_header(&self, f: &mut Formatter) -> Result
[src]
fn fmt_header(&self, f: &mut Formatter) -> Result
impl HeaderFormat for ETag
[src]
impl HeaderFormat for ETag
fn fmt_header(&self, f: &mut Formatter) -> Result
[src]
fn fmt_header(&self, f: &mut Formatter) -> Result
impl HeaderFormat for Expires
[src]
impl HeaderFormat for Expires
fn fmt_header(&self, f: &mut Formatter) -> Result
[src]
fn fmt_header(&self, f: &mut Formatter) -> Result
impl HeaderFormat for From
[src]
impl HeaderFormat for From
fn fmt_header(&self, f: &mut Formatter) -> Result
[src]
fn fmt_header(&self, f: &mut Formatter) -> Result
impl HeaderFormat for Host
[src]
impl HeaderFormat for Host
fn fmt_header(&self, f: &mut Formatter) -> Result
[src]
fn fmt_header(&self, f: &mut Formatter) -> Result
impl HeaderFormat for IfModifiedSince
[src]
impl HeaderFormat for IfModifiedSince
fn fmt_header(&self, f: &mut Formatter) -> Result
[src]
fn fmt_header(&self, f: &mut Formatter) -> Result
impl HeaderFormat for IfUnmodifiedSince
[src]
impl HeaderFormat for IfUnmodifiedSince
fn fmt_header(&self, f: &mut Formatter) -> Result
[src]
fn fmt_header(&self, f: &mut Formatter) -> Result
impl HeaderFormat for LastModified
[src]
impl HeaderFormat for LastModified
fn fmt_header(&self, f: &mut Formatter) -> Result
[src]
fn fmt_header(&self, f: &mut Formatter) -> Result
impl HeaderFormat for Link
[src]
impl HeaderFormat for Link
fn fmt_header(&self, f: &mut Formatter) -> Result
[src]
fn fmt_header(&self, f: &mut Formatter) -> Result
impl HeaderFormat for Location
[src]
impl HeaderFormat for Location
fn fmt_header(&self, f: &mut Formatter) -> Result
[src]
fn fmt_header(&self, f: &mut Formatter) -> Result
impl HeaderFormat for Origin
[src]
impl HeaderFormat for Origin
fn fmt_header(&self, f: &mut Formatter) -> Result
[src]
fn fmt_header(&self, f: &mut Formatter) -> Result
impl HeaderFormat for Prefer
[src]
impl HeaderFormat for Prefer
fn fmt_header(&self, f: &mut Formatter) -> Result
[src]
fn fmt_header(&self, f: &mut Formatter) -> Result
impl HeaderFormat for PreferenceApplied
[src]
impl HeaderFormat for PreferenceApplied
fn fmt_header(&self, f: &mut Formatter) -> Result
[src]
fn fmt_header(&self, f: &mut Formatter) -> Result
impl HeaderFormat for Referer
[src]
impl HeaderFormat for Referer
fn fmt_header(&self, f: &mut Formatter) -> Result
[src]
fn fmt_header(&self, f: &mut Formatter) -> Result
impl HeaderFormat for Server
[src]
impl HeaderFormat for Server
fn fmt_header(&self, f: &mut Formatter) -> Result
[src]
fn fmt_header(&self, f: &mut Formatter) -> Result
impl HeaderFormat for SetCookie
[src]
impl HeaderFormat for SetCookie
fn fmt_header(&self, f: &mut Formatter) -> Result
[src]
fn fmt_header(&self, f: &mut Formatter) -> Result
fn fmt_multi_header(&self, f: &mut MultilineFormatter) -> Result
[src]
fn fmt_multi_header(&self, f: &mut MultilineFormatter) -> Result
impl HeaderFormat for StrictTransportSecurity
[src]
impl HeaderFormat for StrictTransportSecurity
fn fmt_header(&self, f: &mut Formatter) -> Result
[src]
fn fmt_header(&self, f: &mut Formatter) -> Result
impl HeaderFormat for TransferEncoding
[src]
impl HeaderFormat for TransferEncoding
fn fmt_header(&self, f: &mut Formatter) -> Result
[src]
fn fmt_header(&self, f: &mut Formatter) -> Result
impl HeaderFormat for Upgrade
[src]
impl HeaderFormat for Upgrade
fn fmt_header(&self, f: &mut Formatter) -> Result
[src]
fn fmt_header(&self, f: &mut Formatter) -> Result
impl HeaderFormat for UserAgent
[src]
impl HeaderFormat for UserAgent
fn fmt_header(&self, f: &mut Formatter) -> Result
[src]
fn fmt_header(&self, f: &mut Formatter) -> Result
impl<S: Scheme + Any> HeaderFormat for Authorization<S> where
<S as FromStr>::Err: 'static,
[src]
impl<S: Scheme + Any> HeaderFormat for Authorization<S> where
<S as FromStr>::Err: 'static,
fn fmt_header(&self, f: &mut Formatter) -> Result
[src]
fn fmt_header(&self, f: &mut Formatter) -> Result