Enum ntex::http::header::ContentEncoding [−][src]
pub enum ContentEncoding {
Auto,
Br,
Deflate,
Gzip,
Identity,
}
Expand description
Represents supported types of content encodings
Variants
Automatically select encoding based on encoding negotiation
A format using the Brotli algorithm
A format using the zlib structure with deflate algorithm
Gzip algorithm
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