Enum trillium_http_types::transfer::Encoding [−][src]
#[non_exhaustive]
pub enum Encoding {
Chunked,
Gzip,
Deflate,
Brotli,
Zstd,
Identity,
}Expand description
Available compression algorithms.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Send a series of chunks.
The Gzip encoding.
The Deflate encoding.
The Brotli encoding.
The Zstd encoding.
No encoding.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Encodingimpl UnwindSafe for EncodingBlanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = TShould always be Self
pub fn vzip(self) -> V