#[non_exhaustive]pub struct ZlibCompressor { /* private fields */ }
Expand description
The ZLIB compressor.
Implementations§
Source§impl ZlibCompressor
impl ZlibCompressor
Sourcepub const fn new() -> ZlibCompressor
pub const fn new() -> ZlibCompressor
Create a new ZLIB compressor.
Trait Implementations§
Source§impl ChannelCompressor for ZlibCompressor
impl ChannelCompressor for ZlibCompressor
Source§impl Clone for ZlibCompressor
impl Clone for ZlibCompressor
Source§fn clone(&self) -> ZlibCompressor
fn clone(&self) -> ZlibCompressor
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl CompressorWriter for ZlibCompressor
impl CompressorWriter for ZlibCompressor
Source§impl Debug for ZlibCompressor
impl Debug for ZlibCompressor
Source§impl Default for ZlibCompressor
impl Default for ZlibCompressor
Source§fn default() -> ZlibCompressor
fn default() -> ZlibCompressor
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ZlibCompressor
impl RefUnwindSafe for ZlibCompressor
impl Send for ZlibCompressor
impl Sync for ZlibCompressor
impl Unpin for ZlibCompressor
impl UnwindSafe for ZlibCompressor
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