Enum bzip2::Compress [] [src]

pub enum Compress {
    Fastest,
    Best,
    Default,
}

When compressing data, the compression level can be specified by a value in this enum.

Variants

Fastest

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 Compress
[src]

fn clone(&self) -> Compress

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

impl Copy for Compress
[src]