Struct tower_http::compression::predicate::And
source · [−]pub struct And<Lhs, Rhs> { /* private fields */ }This is supported on crate features
compression-br or compression-deflate or compression-gzip only.Expand description
Two predicates combined into one.
Created with Predicate::and
Trait Implementations
Auto Trait Implementations
impl<Lhs, Rhs> RefUnwindSafe for And<Lhs, Rhs> where
Lhs: RefUnwindSafe,
Rhs: RefUnwindSafe,
impl<Lhs, Rhs> UnwindSafe for And<Lhs, Rhs> where
Lhs: UnwindSafe,
Rhs: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
This is supported on crate feature
follow-redirect only.Create a new Policy that returns Action::Follow only if self and other return
Action::Follow. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more