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)
A supported content encoding. See ContentEncoding for variants.
Unknown(String)
Some 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.
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
