Enum libflate::zlib::CompressionLevel [] [src]

pub enum CompressionLevel {
    Fastest,
    Fast,
    Default,
    Slowest,
}

Compression levels defined by the ZLIB format.

Variants

Compressor used fastest algorithm.

Compressor used fast algorithm.

Compressor used default algorithm.

Compressor used maximum compression, slowest algorithm.

Trait Implementations

impl Debug for CompressionLevel
[src]

Formats the value using the given formatter.

impl Clone for CompressionLevel
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialOrd for CompressionLevel
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Ord for CompressionLevel
[src]

This method returns an Ordering between self and other. Read more

impl PartialEq for CompressionLevel
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for CompressionLevel
[src]

impl Hash for CompressionLevel
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl From<CompressionLevel> for CompressionLevel
[src]

Performs the conversion.