Enum bzip2::Compression [] [src]

pub enum Compression {
    Fastest,
    Best,
    Default,
}

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

Variants

Optimize for the best speed of encoding.

Optimize for the size of data being encoded.

Choose the default compression, a balance between speed and size.

Trait Implementations

impl Copy for Compression
[src]

impl Clone for Compression
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more