pub struct Lz4Decompressor;Implementations§
Source§impl Lz4Decompressor
impl Lz4Decompressor
pub fn new( _dict: Option<&[u8]>, ) -> Result<Box<dyn Decompressor + Send>, CompressionError>
Trait Implementations§
Source§impl Decompressor for Lz4Decompressor
impl Decompressor for Lz4Decompressor
Source§fn decompress_chunk(
&mut self,
input: &[u8],
out: &mut Vec<u8>,
) -> Result<(), CompressionError>
fn decompress_chunk( &mut self, input: &[u8], out: &mut Vec<u8>, ) -> Result<(), CompressionError>
Decompress a single chunk into out buffer.
Auto Trait Implementations§
impl Freeze for Lz4Decompressor
impl RefUnwindSafe for Lz4Decompressor
impl Send for Lz4Decompressor
impl Sync for Lz4Decompressor
impl Unpin for Lz4Decompressor
impl UnsafeUnpin for Lz4Decompressor
impl UnwindSafe for Lz4Decompressor
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