Struct body_image::barc::GzipCompressStrategy[][src]

pub struct GzipCompressStrategy { /* fields omitted */ }

Strategy for gzip compression. Will not compress if a minimum length estimate is not reached.

Methods

impl GzipCompressStrategy
[src]

Set minimum length in bytes for when to use compression. Default: 4 KiB.

Set the compression level to use, typically on a scale of 0-9 where 0 is no compression and 9 is highest (and slowest) compression. Default: 6.

Trait Implementations

impl Clone for GzipCompressStrategy
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for GzipCompressStrategy
[src]

impl Debug for GzipCompressStrategy
[src]

Formats the value using the given formatter. Read more

impl Default for GzipCompressStrategy
[src]

Returns the "default value" for a type. Read more

impl CompressStrategy for GzipCompressStrategy
[src]

Return an EncodeWrapper for File by evaluating the MetaRecorded for compression worthiness. Read more

Auto Trait Implementations