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