Enum flate2::Compression
[−]
[src]
pub enum Compression {
None,
Fast,
Best,
Default,
}When compressing data, the compression level can be specified by a value in this enum.
Variants
NoneNo compression is to be performed, this may actually inflate data slightly when encoding.
FastOptimize for the best speed of encoding.
BestOptimize for the size of data being encoded.
DefaultChoose the default compression, a balance between speed and size.
Trait Implementations
impl Clone for Compression[src]
fn clone(&self) -> Compression
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more