Struct async_compression::codec::zlib::encoder::ZlibEncoder
source · pub struct ZlibEncoder {
inner: FlateEncoder,
}
Fields§
§inner: FlateEncoder
Implementations§
source§impl ZlibEncoder
impl ZlibEncoder
pub(crate) fn new(level: Compression) -> Self
pub(crate) 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