Enum kafka::client::Compression [] [src]

pub enum Compression {
    NONE,
    GZIP,
    SNAPPY,
}

Compression types supported by kafka. The numeral values of this enumeration correspond to the compression encoding in the attributes of a Message in the protocol.

Variants

NONEGZIPSNAPPY

Trait Implementations

impl Clone for Compression
[src]

fn clone(&self) -> Compression

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

impl Debug for Compression
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Default for Compression
[src]

fn default() -> Self

Returns the "default value" for a type. Read more