Trait ChannelCompressor

Source
pub trait ChannelCompressor: CompressorWriter {
    // Required method
    fn get_compressed(&self) -> Vec<u8> ;
}
Expand description

Channel Compressor

A compressor for channels.

Required Methods§

Source

fn get_compressed(&self) -> Vec<u8>

Returns the compressed data buffer.

Implementors§

Source§

impl ChannelCompressor for VariantCompressor

Available on crate feature std only.
Source§

impl ChannelCompressor for BrotliCompressor

Available on crate feature std only.
Source§

impl ChannelCompressor for ZlibCompressor