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

Trait Implementations

impl Debug for Compression
[src]

[src]

Formats the value using the given formatter.

impl Copy for Compression
[src]

impl Clone for Compression
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Default for Compression
[src]

[src]

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