Enum body_image::Encoding [−][src]
pub enum Encoding {
Chunked,
Deflate,
Gzip,
Brotli,
Compress,
Identity,
}
Expand description
A set of HTTP Transfer- or Content-Encoding values.
The Display
/ToString
representation is as per the HTTP header value.
Variants
Chunked
(transfer encoding) is typically applied or removed by HTTP
client and server implementations—even minimal ones.
This obsolete LZW format is not generally used or supported currently, but is included for error reporting.
May be used to explicitly indicate that an encoding previously applied has been decoded (removed).
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for Encoding
impl UnwindSafe for Encoding
Blanket Implementations
Mutably borrows from an owned value. Read more