Struct barc::NoCompressStrategy[][src]

pub struct NoCompressStrategy {}
Expand description

Strategy of no (aka Plain) compression.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Return an EncodeWrapper for File. This implementation always returns a Plain wrapper.

Return minimum length of compressible bytes for compression.

Return a coefficient used to weight the discount of non-compressible body bytes. Default: 0.5 Read more

Return whether to check the meta -decoded header for an “identity” value, as proof that the content-type header actually characterizes the associated body, for the purpose of counting compressible bytes. Default: false (may change in the future) Read more

Return true if the provided record has at least min_len of compressible bytes, from the response and request bodies and headers. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.