Struct tracing_capture::predicates::LevelPredicate
source · pub struct LevelPredicate<P> { /* private fields */ }
Expand description
Predicate for the [Level
] of a CapturedSpan
or CapturedEvent
returned by
the level()
function.
Trait Implementations§
source§impl<Rhs, P> BitAnd<Rhs> for LevelPredicate<P>where
Self: PredicateReflection,
Rhs: PredicateReflection,
impl<Rhs, P> BitAnd<Rhs> for LevelPredicate<P>where
Self: PredicateReflection,
Rhs: PredicateReflection,
source§impl<Rhs, P> BitOr<Rhs> for LevelPredicate<P>where
Self: PredicateReflection,
Rhs: PredicateReflection,
impl<Rhs, P> BitOr<Rhs> for LevelPredicate<P>where
Self: PredicateReflection,
Rhs: PredicateReflection,
source§impl<P: Clone> Clone for LevelPredicate<P>
impl<P: Clone> Clone for LevelPredicate<P>
source§fn clone(&self) -> LevelPredicate<P>
fn clone(&self) -> LevelPredicate<P>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<P: Debug> Debug for LevelPredicate<P>
impl<P: Debug> Debug for LevelPredicate<P>
source§impl<P: Predicate<Level>> Display for LevelPredicate<P>
impl<P: Predicate<Level>> Display for LevelPredicate<P>
source§impl<P: PartialEq> PartialEq for LevelPredicate<P>
impl<P: PartialEq> PartialEq for LevelPredicate<P>
source§fn eq(&self, other: &LevelPredicate<P>) -> bool
fn eq(&self, other: &LevelPredicate<P>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<'a, P: Predicate<Level>, T: Captured<'a>> Predicate<T> for LevelPredicate<P>
impl<'a, P: Predicate<Level>, T: Captured<'a>> Predicate<T> for LevelPredicate<P>
source§impl<P: Predicate<Level>> PredicateReflection for LevelPredicate<P>
impl<P: Predicate<Level>> PredicateReflection for LevelPredicate<P>
impl<P: Copy> Copy for LevelPredicate<P>
impl<P: Eq> Eq for LevelPredicate<P>
impl<P> StructuralPartialEq for LevelPredicate<P>
Auto Trait Implementations§
impl<P> Freeze for LevelPredicate<P>where
P: Freeze,
impl<P> RefUnwindSafe for LevelPredicate<P>where
P: RefUnwindSafe,
impl<P> Send for LevelPredicate<P>where
P: Send,
impl<P> Sync for LevelPredicate<P>where
P: Sync,
impl<P> Unpin for LevelPredicate<P>where
P: Unpin,
impl<P> UnwindSafe for LevelPredicate<P>where
P: 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
§impl<P, Item> PredicateBooleanExt<Item> for Pwhere
P: Predicate<Item>,
Item: ?Sized,
impl<P, Item> PredicateBooleanExt<Item> for Pwhere
P: Predicate<Item>,
Item: ?Sized,
§fn and<B>(self, other: B) -> AndPredicate<Self, B, Item>where
B: Predicate<Item>,
Self: Sized,
fn and<B>(self, other: B) -> AndPredicate<Self, B, Item>where
B: Predicate<Item>,
Self: Sized,
Compute the logical AND of two
Predicate
results, returning the result. Read more