Trait flate2::ffi::DeflateBackend
source · pub trait DeflateBackend: Backend {
// Required methods
fn make(level: Compression, zlib_header: bool, window_bits: u8) -> Self;
fn compress(
&mut self,
input: &[u8],
output: &mut [u8],
flush: FlushCompress,
) -> Result<Status, CompressError>;
fn reset(&mut self);
}
Required Methods§
fn make(level: Compression, zlib_header: bool, window_bits: u8) -> Self
fn compress( &mut self, input: &[u8], output: &mut [u8], flush: FlushCompress, ) -> Result<Status, CompressError>
fn reset(&mut self)
Object Safety§
This trait is not object safe.