op_alloy::protocol

Trait ChannelCompressor

Source
pub trait ChannelCompressor: CompressorWriter {
    // Required method
    fn get_compressed(&self) -> Vec<u8> ;
}
Available on crate feature protocol only.
Expand description

Channel Compressor

A compressor for channels.

Required Methods§

Source

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

Returns the compressed data buffer.

Implementors§