Struct tower_http::compression::predicate::SizeAbove
source · 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 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