Enum gelf::MessageCompression [] [src]

pub enum MessageCompression {
    None,
    Gzip,
    Zlib,
}

MessageCompression represents all possible compression algorithms in GELF.

Variants

Methods

impl MessageCompression
[src]

Return the default compression algorithm.

Compress a serialized message with the defined algorithm.

Trait Implementations

impl PartialEq for MessageCompression
[src]

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

This method tests for !=.

impl Clone for MessageCompression
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for MessageCompression
[src]