pub struct GzipEncoder { /* private fields */ }Available on crate feature
gzip only.Implementations§
Source§impl GzipEncoder
impl GzipEncoder
pub fn new(level: FlateEncoderParams) -> Self
Trait Implementations§
Source§impl Debug for GzipEncoder
impl Debug for GzipEncoder
Source§impl EncodeV2 for GzipEncoder
impl EncodeV2 for GzipEncoder
fn encode( &mut self, input: &mut PartialBuffer<&[u8]>, output: &mut WriteBuffer<'_>, ) -> 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 UnsafeUnpin 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