Struct async_compression::codec::gzip::encoder::GzipEncoder
source · pub struct GzipEncoder {
inner: FlateEncoder,
crc: Crc,
state: State,
}
Fields§
§inner: FlateEncoder
§crc: Crc
§state: State
Implementations§
source§impl GzipEncoder
impl GzipEncoder
pub(crate) fn new(level: Compression) -> Self
Trait Implementations§
source§impl Debug for GzipEncoder
impl Debug for GzipEncoder
source§impl Encode for GzipEncoder
impl Encode for GzipEncoder
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 GzipEncoder
impl RefUnwindSafe for GzipEncoder
impl Send for GzipEncoder
impl Sync for GzipEncoder
impl Unpin for GzipEncoder
impl UnwindSafe for GzipEncoder
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