Enum actix_web::http::header::Encoding [−][src]
pub enum Encoding {
Chunked,
Brotli,
Gzip,
Deflate,
Compress,
Identity,
Trailers,
EncodingExt(String),
}Expand description
A value to represent an encoding used in Transfer-Encoding
or Accept-Encoding header.
Variants
Chunked
The chunked encoding.
Brotli
The br encoding.
Gzip
The gzip encoding.
Deflate
The deflate encoding.
Compress
The compress encoding.
Identity
The identity encoding.
Trailers
The trailers encoding.
EncodingExt(String)
Tuple Fields
0: StringSome 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
pub fn vzip(self) -> V
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
