pub struct DeflateEncoder { /* private fields */ }
Available on crate feature
deflate
only.Implementations§
Source§impl DeflateEncoder
impl DeflateEncoder
pub fn new(level: FlateEncoderParams) -> Self
pub fn get_ref(&self) -> &FlateEncoder
Trait Implementations§
Source§impl Debug for DeflateEncoder
impl Debug for DeflateEncoder
Source§impl Encode for DeflateEncoder
impl Encode for DeflateEncoder
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 DeflateEncoder
impl RefUnwindSafe for DeflateEncoder
impl Send for DeflateEncoder
impl Sync for DeflateEncoder
impl Unpin for DeflateEncoder
impl UnwindSafe for DeflateEncoder
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