pub struct ZStdDctx { /* private fields */ }
Expand description
ZStandard decompression context
Implementations§
Trait Implementations§
Source§impl From<ZStdDctx> for PolyDecompressor
impl From<ZStdDctx> for PolyDecompressor
Source§fn from(v: ZStdDctx) -> PolyDecompressor
fn from(v: ZStdDctx) -> PolyDecompressor
Converts to this type from the input type.
Source§impl IDecompressor for ZStdDctx
impl IDecompressor for ZStdDctx
Source§fn try_decompress(
&mut self,
buffer: &[u8],
to: &mut Vec<u8>,
) -> Result<usize, DecompressError>
fn try_decompress( &mut self, buffer: &[u8], to: &mut Vec<u8>, ) -> Result<usize, DecompressError>
Source§fn try_decompressed_size(&self, of: &[u8]) -> Result<usize, SizeRetrievalError>
fn try_decompressed_size(&self, of: &[u8]) -> Result<usize, SizeRetrievalError>
Tries to retrieve decompressed size of the buffer.
Source§impl TryInto<ZStdDctx> for PolyDecompressor
impl TryInto<ZStdDctx> for PolyDecompressor
impl Send for ZStdDctx
Auto Trait Implementations§
impl Freeze for ZStdDctx
impl RefUnwindSafe for ZStdDctx
impl !Sync for ZStdDctx
impl Unpin for ZStdDctx
impl UnwindSafe for ZStdDctx
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