Struct tracing_capture::predicates::Or
source · pub struct Or<T, U> { /* private fields */ }
Expand description
Boolean “or” combinator for predicates. Produced by the bitwise or (|
) operator
on the base predicates from this module.
Trait Implementations§
source§impl<Rhs, T, U> BitAnd<Rhs> for Or<T, U>where
Self: PredicateReflection,
Rhs: PredicateReflection,
impl<Rhs, T, U> BitAnd<Rhs> for Or<T, U>where
Self: PredicateReflection,
Rhs: PredicateReflection,
source§impl<Rhs, T, U> BitOr<Rhs> for Or<T, U>where
Self: PredicateReflection,
Rhs: PredicateReflection,
impl<Rhs, T, U> BitOr<Rhs> for Or<T, U>where
Self: PredicateReflection,
Rhs: PredicateReflection,
source§impl<T: PredicateReflection, U: PredicateReflection> PredicateReflection for Or<T, U>
impl<T: PredicateReflection, U: PredicateReflection> PredicateReflection for Or<T, U>
impl<T: Copy, U: Copy> Copy for Or<T, U>
impl<T: Eq, U: Eq> Eq for Or<T, U>
impl<T, U> StructuralPartialEq for Or<T, U>
Auto Trait Implementations§
impl<T, U> Freeze for Or<T, U>
impl<T, U> RefUnwindSafe for Or<T, U>where
T: RefUnwindSafe,
U: RefUnwindSafe,
impl<T, U> Send for Or<T, U>
impl<T, U> Sync for Or<T, U>
impl<T, U> Unpin for Or<T, U>
impl<T, U> UnwindSafe for Or<T, U>where
T: UnwindSafe,
U: 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<P, Item> PredicateBooleanExt<Item> for P
impl<P, Item> PredicateBooleanExt<Item> for P
source§fn and<B>(self, other: B) -> AndPredicate<Self, B, Item>
fn and<B>(self, other: B) -> AndPredicate<Self, B, Item>
Compute the logical AND of two
Predicate
results, returning the result. Read moresource§fn or<B>(self, other: B) -> OrPredicate<Self, B, Item>
fn or<B>(self, other: B) -> OrPredicate<Self, B, Item>
Compute the logical OR of two
Predicate
results, returning the result. Read moresource§impl<P, Item> PredicateBoxExt<Item> for Pwhere
P: Predicate<Item>,
impl<P, Item> PredicateBoxExt<Item> for Pwhere
P: Predicate<Item>,
source§impl<P> PredicateFileContentExt for P
impl<P> PredicateFileContentExt for P
source§fn from_file_path(self) -> FileContentPredicate<Self>
fn from_file_path(self) -> FileContentPredicate<Self>
source§impl<P, Item> PredicateNameExt<Item> for P
impl<P, Item> PredicateNameExt<Item> for P
source§impl<P> PredicateStrExt for P
impl<P> PredicateStrExt for P
source§fn trim(self) -> TrimPredicate<Self>
fn trim(self) -> TrimPredicate<Self>
source§fn from_utf8(self) -> Utf8Predicate<Self>
fn from_utf8(self) -> Utf8Predicate<Self>
source§fn normalize(self) -> NormalizedPredicate<Self>
fn normalize(self) -> NormalizedPredicate<Self>
Returns a
NormalizedPredicate
that ensures
the newlines within the data passed to Self
is normalised. Read more