pub trait CompressionProvider:
Send
+ Sync
+ Debug {
// Required methods
fn compress(&self, writer: Vec<u8>, input: &[u8]) -> Result<Vec<u8>>;
fn decompress(&self, writer: Vec<u8>, input: &[u8]) -> Result<Vec<u8>>;
}
Expand description
todo