pub struct GzipCompressor { /* private fields */ }Expand description
Transform that applies gzip compression to the input.
Implementations§
Source§impl GzipCompressor
impl GzipCompressor
Sourcepub fn new(level: Compression) -> Self
pub fn new(level: Compression) -> Self
Creates a new Gzip compressor with the given compression level.
Trait Implementations§
Source§impl BinaryTransform for GzipCompressor
impl BinaryTransform for GzipCompressor
Source§impl Default for GzipCompressor
impl Default for GzipCompressor
Source§fn default() -> GzipCompressor
fn default() -> GzipCompressor
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GzipCompressor
impl RefUnwindSafe for GzipCompressor
impl Send for GzipCompressor
impl Sync for GzipCompressor
impl Unpin for GzipCompressor
impl UnsafeUnpin for GzipCompressor
impl UnwindSafe for GzipCompressor
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