Struct kafka_protocol::compression::None
source · pub struct None;Expand description
Noop compression implementation.
Trait Implementations§
source§impl<B: ByteBufMut> Compressor<B> for None
impl<B: ByteBufMut> Compressor<B> for None
source§impl<B: ByteBuf> Decompressor<B> for None
impl<B: ByteBuf> Decompressor<B> for None
source§fn decompress<R, F>(buf: &mut B, f: F) -> Result<R, DecodeError>
fn decompress<R, F>(buf: &mut B, f: F) -> Result<R, DecodeError>
Decompress records from
B mapped using F into R.Auto Trait Implementations§
impl Freeze for None
impl RefUnwindSafe for None
impl Send for None
impl Sync for None
impl Unpin for None
impl UnwindSafe for None
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