Enum rocket::http::hyper::header::Encoding [−][src]
pub enum Encoding {
Chunked,
Gzip,
Deflate,
Compress,
Identity,
EncodingExt(String),
}Expand description
A value to represent an encoding used in Transfer-Encoding
or Accept-Encoding header.
Variants
The chunked encoding.
The gzip encoding.
The deflate encoding.
The compress encoding.
The identity encoding.
EncodingExt(String)Some other encoding that is less common, can be any String.
Tuple Fields of EncodingExt
0: StringTrait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Encoding
impl UnwindSafe for Encoding
Blanket Implementations
Mutably borrows from an owned value. Read more