Struct gzp::deflate::Gzip [−][src]
pub struct Gzip {}
Expand description
Gzip deflate stream with gzip header and footer.
Trait Implementations
type Compressor = Compress
fn create_compressor(
&self,
compression_level: Compression
) -> Result<Self::Compressor, GzpError>
fn create_compressor(
&self,
compression_level: Compression
) -> Result<Self::Compressor, GzpError>
Create a thread local compressor
Whether or not this format should try to use a dictionary.
How to deflate bytes for this format. Returns deflated bytes.
Generate a generic header for the given format.
Generate a genric footer for the format.
The default buffersize to use for this format
Create a check value for this format that implements Check
type OutputWriter = GzEncoder<W>
Auto Trait Implementations
impl RefUnwindSafe for Gzip
impl UnwindSafe for Gzip
Blanket Implementations
Mutably borrows from an owned value. Read more