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 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