pub struct ZripCompressor { /* private fields */ }Expand description
zstd compressor emitting one independent frame per input chunk.
Implementations§
Source§impl ZripCompressor
impl ZripCompressor
Sourcepub fn new(level: i32) -> Result<Self, CompressError>
pub fn new(level: i32) -> Result<Self, CompressError>
Create a compressor at level (-8..=4; 0 = library default).
Trait Implementations§
Source§impl Compressor for ZripCompressor
impl Compressor for ZripCompressor
Auto Trait Implementations§
impl Freeze for ZripCompressor
impl RefUnwindSafe for ZripCompressor
impl Send for ZripCompressor
impl Sync for ZripCompressor
impl Unpin for ZripCompressor
impl UnsafeUnpin for ZripCompressor
impl UnwindSafe for ZripCompressor
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more