pub struct CompressionStats {
pub precompressed: usize,
pub dynamic: usize,
pub skipped_disabled: usize,
pub skipped_client: usize,
pub skipped_type: usize,
pub skipped_size: usize,
pub skipped_no_variant: usize,
}Expand description
Counts of compression decisions since the process started.
Fields§
§precompressed: usizeServed a precompressed sibling.
dynamic: usizeCompressed with gzip on the fly.
skipped_disabled: usizeSkipped: disabled by the policy or the route.
skipped_client: usizeSkipped: the client accepts no supported encoding.
skipped_type: usizeSkipped: content type not compressible.
skipped_size: usizeSkipped: below the minimum size.
skipped_no_variant: usizeSkipped: no precompressed sibling and no dynamic compression.
Trait Implementations§
Source§impl Clone for CompressionStats
impl Clone for CompressionStats
impl Copy for CompressionStats
Source§impl Debug for CompressionStats
impl Debug for CompressionStats
Source§impl Default for CompressionStats
impl Default for CompressionStats
impl Eq for CompressionStats
Source§impl PartialEq for CompressionStats
impl PartialEq for CompressionStats
impl StructuralPartialEq for CompressionStats
Auto Trait Implementations§
impl Forget for CompressionStats
impl Freeze for CompressionStats
impl RefUnwindSafe for CompressionStats
impl Send for CompressionStats
impl Sync for CompressionStats
impl Unpin for CompressionStats
impl UnsafeUnpin for CompressionStats
impl UnwindSafe for CompressionStats
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.