Enum ajars_actix_web::actix_web::http::header::Encoding [−][src]
pub enum Encoding {
Chunked,
Brotli,
Gzip,
Deflate,
Compress,
Identity,
Trailers,
Zstd,
EncodingExt(String),
}
Expand description
A value to represent an encoding used in Transfer-Encoding
or Accept-Encoding
header.
Variants
The chunked
encoding.
The br
encoding.
The gzip
encoding.
The deflate
encoding.
The compress
encoding.
The identity
encoding.
The trailers
encoding.
The zstd
encoding.
EncodingExt(String)
Some other encoding that is less common, can be any String.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Encoding
impl UnwindSafe for Encoding
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self