Enum protocol::wire::middleware::compression::Compression [−][src]
pub enum Compression {
Disabled,
Enabled(Algorithm),
}
Expand description
Compression middleware.
Variants
Disabled
No compression or decompression should be applied to the data.
Enabled(Algorithm)
Tuple Fields
0: Algorithm
Compression and decompression should be applied to the data.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Compression
impl Send for Compression
impl Sync for Compression
impl Unpin for Compression
impl UnwindSafe for Compression
Blanket Implementations
Mutably borrows from an owned value. Read more