pub struct Lz4Encoder { /* private fields */ }Available on crate feature
lz4 only.Implementations§
Source§impl Lz4Encoder
impl Lz4Encoder
pub fn new(params: EncoderParams) -> Self
pub fn buffer_size(&self) -> usize
Trait Implementations§
Source§impl Debug for Lz4Encoder
impl Debug for Lz4Encoder
Source§impl EncodeV2 for Lz4Encoder
impl EncodeV2 for Lz4Encoder
fn encode( &mut self, input: &mut PartialBuffer<&[u8]>, output: &mut WriteBuffer<'_>, ) -> Result<()>
Auto Trait Implementations§
impl Freeze for Lz4Encoder
impl RefUnwindSafe for Lz4Encoder
impl Send for Lz4Encoder
impl Sync for Lz4Encoder
impl Unpin for Lz4Encoder
impl UnsafeUnpin for Lz4Encoder
impl UnwindSafe for Lz4Encoder
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