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 Encode for Lz4Encoder
impl Encode for Lz4Encoder
fn encode( &mut self, input: &mut PartialBuffer<impl AsRef<[u8]>>, output: &mut PartialBuffer<impl AsRef<[u8]> + AsMut<[u8]>>, ) -> 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 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