Struct tower_http::compression::predicate::And
source · pub struct And<Lhs, Rhs> { /* private fields */ }
Available on crate features
compression-br
or compression-deflate
or compression-gzip
or compression-zstd
only.Expand description
Two predicates combined into one.
Created with Predicate::and
Trait Implementations§
impl<Lhs: Copy, Rhs: Copy> Copy for And<Lhs, Rhs>
Auto Trait Implementations§
impl<Lhs, Rhs> RefUnwindSafe for And<Lhs, Rhs>where Lhs: RefUnwindSafe, Rhs: RefUnwindSafe,
impl<Lhs, Rhs> Send for And<Lhs, Rhs>where Lhs: Send, Rhs: Send,
impl<Lhs, Rhs> Sync for And<Lhs, Rhs>where Lhs: Sync, Rhs: Sync,
impl<Lhs, Rhs> Unpin for And<Lhs, Rhs>where Lhs: Unpin, Rhs: Unpin,
impl<Lhs, Rhs> UnwindSafe for And<Lhs, Rhs>where Lhs: UnwindSafe, Rhs: UnwindSafe,
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