[][src]Trait cdrs_temp::cluster::GetCompressor

pub trait GetCompressor<'a> {
    fn get_compressor(&self) -> Compression;
}

GetCompressor trait provides a unified interface for Session to get a compressor for further decompressing received data.

Required methods

fn get_compressor(&self) -> Compression

Returns actual compressor.

Loading content...

Implementors

impl<'a, LB> GetCompressor<'a> for Session<LB>[src]

fn get_compressor(&self) -> Compression[src]

Returns compression that current session has.

Loading content...