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
None
No compression is to be performed, this may actually inflate data slightly when encoding.
Fast
Optimize for the best speed of encoding.
Best
Optimize for the size of data being encoded.
Default
Choose 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