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