pub struct NoCompression;Expand description
No-op passthrough compressor (CompressionType::None).
Trait Implementations§
Source§impl Compressor for NoCompression
impl Compressor for NoCompression
Source§fn compression_type(&self) -> CompressionType
fn compression_type(&self) -> CompressionType
The compression type identifier for block headers.
Auto Trait Implementations§
impl Freeze for NoCompression
impl RefUnwindSafe for NoCompression
impl Send for NoCompression
impl Sync for NoCompression
impl Unpin for NoCompression
impl UnsafeUnpin for NoCompression
impl UnwindSafe for NoCompression
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