pub struct Lz4Compressor;Trait Implementations§
Source§impl Compressor for Lz4Compressor
impl Compressor for Lz4Compressor
Source§fn compress(&self, src: &[u8], level: i32) -> RocketMQResult<Bytes>
fn compress(&self, src: &[u8], level: i32) -> RocketMQResult<Bytes>
Compress message by different compressor. Read more
Source§fn decompress(&self, src: &[u8]) -> RocketMQResult<Bytes>
fn decompress(&self, src: &[u8]) -> RocketMQResult<Bytes>
Decompress message by different compressor. Read more
Auto Trait Implementations§
impl Freeze for Lz4Compressor
impl RefUnwindSafe for Lz4Compressor
impl Send for Lz4Compressor
impl Sync for Lz4Compressor
impl Unpin for Lz4Compressor
impl UnwindSafe for Lz4Compressor
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