Struct ratchet_deflate::DeflateEncoder
source · [−]pub struct DeflateEncoder { /* private fields */ }
Expand description
A permessage-deflate compressor. Only producible by the SplittableExtension
implementation on
Deflate
.
Trait Implementations
sourceimpl Debug for DeflateEncoder
impl Debug for DeflateEncoder
sourceimpl ExtensionEncoder for DeflateEncoder
impl ExtensionEncoder for DeflateEncoder
type Error = DeflateExtensionError
type Error = DeflateExtensionError
The error type produced by this extension if encoding fails.
Auto Trait Implementations
impl RefUnwindSafe for DeflateEncoder
impl Send for DeflateEncoder
impl Sync for DeflateEncoder
impl Unpin for DeflateEncoder
impl UnwindSafe for DeflateEncoder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more