Struct body_image::barc::BrotliCompressStrategy [] [src]

pub struct BrotliCompressStrategy { /* fields omitted */ }

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

Methods

impl BrotliCompressStrategy
[src]

[src]

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

[src]

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 BrotliCompressStrategy
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for BrotliCompressStrategy
[src]

impl Debug for BrotliCompressStrategy
[src]

[src]

Formats the value using the given formatter. Read more

impl Default for BrotliCompressStrategy
[src]

[src]

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

impl CompressStrategy for BrotliCompressStrategy
[src]

[src]

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

Auto Trait Implementations