pub struct ZstdCompressor;Trait Implementations§
Source§impl Compressor for ZstdCompressor
impl Compressor for ZstdCompressor
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 ZstdCompressor
impl RefUnwindSafe for ZstdCompressor
impl Send for ZstdCompressor
impl Sync for ZstdCompressor
impl Unpin for ZstdCompressor
impl UnwindSafe for ZstdCompressor
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