Enum zip::CompressionMethod [] [src]

pub enum CompressionMethod {
    Stored,
    Deflated,
    Bzip2,
    Unsupported(u16),
}

Compression methods for the contents of a ZIP file.

Variants

The file is stored (no compression)

The file is Deflated

File is compressed using BZIP2 algorithm

Unsupported compression method

Methods

impl CompressionMethod
[src]

Converts an u16 to its corresponding CompressionMethod

Converts a CompressionMethod to a u16

Trait Implementations

impl Copy for CompressionMethod
[src]

impl Clone for CompressionMethod
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for CompressionMethod
[src]

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

This method tests for !=.

impl Debug for CompressionMethod
[src]

Formats the value using the given formatter.

impl Display for CompressionMethod
[src]

Formats the value using the given formatter.