pub struct Decompressor { /* private fields */ }Expand description
Reusable decompression context. Creating a ZSTD_DCtx allocates and warms
internal tables; holding one across many frames (with Self::decompress_into
into a reused buffer) makes a decode loop allocation-free after warm-up.
Implementations§
Trait Implementations§
Source§impl Default for Decompressor
impl Default for Decompressor
Source§impl Drop for Decompressor
impl Drop for Decompressor
impl Send for Decompressor
Auto Trait Implementations§
impl !Sync for Decompressor
impl Freeze for Decompressor
impl RefUnwindSafe for Decompressor
impl Unpin for Decompressor
impl UnsafeUnpin for Decompressor
impl UnwindSafe for Decompressor
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