pub struct DecompressionContext {
decompressor: Decompressor<'static>,
}Expand description
Additional context that may be needed for decompression.
In the case of zstd, this will contain the zstd decompression context, which can be reused between subsequent decompression calls to avoid the performance overhead of initialising a new context for every decompression.
Fields§
§decompressor: Decompressor<'static>Implementations§
Trait Implementations§
Source§impl Debug for DecompressionContext
impl Debug for DecompressionContext
Auto Trait Implementations§
impl Freeze for DecompressionContext
impl RefUnwindSafe for DecompressionContext
impl Send for DecompressionContext
impl Sync for DecompressionContext
impl Unpin for DecompressionContext
impl UnsafeUnpin for DecompressionContext
impl UnwindSafe for DecompressionContext
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