pub trait Compression: CompressionAlgorithm {
    const COMPRESSION_METHOD: CompressionMethod;

    fn get_algorithm(&self) -> Compressor;
}
Expand description

An algorithm used for compression with associated enums and optional configurations.

Required Associated Constants

The corresponding tag to the algorithm.

Required Methods

Method to optain a type that can store each variant of comression algorithm.

Implementors