Enum awc::http::header::ContentEncoding [−][src]
pub enum ContentEncoding {
Auto,
Br,
Deflate,
Gzip,
Identity,
}
Expand description
Represents supported types of content encodings
Variants
Auto
Automatically select encoding based on encoding negotiation
Br
A format using the Brotli algorithm
Deflate
A format using the zlib structure with deflate algorithm
Gzip
Gzip algorithm
Identity
Indicates the identity function (i.e. no compression, nor modification)
Implementations
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for ContentEncoding
impl Send for ContentEncoding
impl Sync for ContentEncoding
impl Unpin for ContentEncoding
impl UnwindSafe for ContentEncoding
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more