#[non_exhaustive]pub struct ZlibCompressor { /* private fields */ }
Available on crate feature
protocol
only.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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more