pub struct ZlibEncoder { /* private fields */ }
Available on crate feature
zlib
only.Implementations§
Source§impl ZlibEncoder
impl ZlibEncoder
pub fn new(level: FlateEncoderParams) -> Self
pub fn get_ref(&self) -> &FlateEncoder
Trait Implementations§
Source§impl Debug for ZlibEncoder
impl Debug for ZlibEncoder
Source§impl Encode for ZlibEncoder
impl Encode for ZlibEncoder
fn encode( &mut self, input: &mut PartialBuffer<impl AsRef<[u8]>>, output: &mut PartialBuffer<impl AsRef<[u8]> + AsMut<[u8]>>, ) -> Result<()>
Auto Trait Implementations§
impl Freeze for ZlibEncoder
impl RefUnwindSafe for ZlibEncoder
impl Send for ZlibEncoder
impl Sync for ZlibEncoder
impl Unpin for ZlibEncoder
impl UnwindSafe for ZlibEncoder
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
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 32 bytes