Enum actix_web::http::header::Encoding [−][src]
pub enum Encoding {
Known(ContentEncoding),
Unknown(String),
}Expand description
A value to represent an encoding used in the Accept-Encoding and Content-Encoding header.
Variants
Known(ContentEncoding)
Tuple Fields
A supported content encoding. See ContentEncoding for variants.
Unknown(String)
Tuple Fields
0: StringSome other encoding that is less common, can be any string.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Encoding
impl UnwindSafe for Encoding
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.
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
