pub struct SizeAbove(/* private fields */);
Available on crate features
compression-br
or compression-deflate
or compression-gzip
or compression-zstd
only.Expand description
Predicate
that will only allow compression of responses above a certain size.
Implementations§
Trait Implementations§
impl Copy for SizeAbove
Auto Trait Implementations§
impl Freeze for SizeAbove
impl RefUnwindSafe for SizeAbove
impl Send for SizeAbove
impl Sync for SizeAbove
impl Unpin for SizeAbove
impl UnwindSafe for SizeAbove
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