Struct tracing_capture::predicates::NamePredicate
source · pub struct NamePredicate<P> { /* private fields */ }
Expand description
Predicate for the name of a CapturedSpan
returned by the name()
function.
Trait Implementations§
source§impl<Rhs, P> BitAnd<Rhs> for NamePredicate<P>where
Self: PredicateReflection,
Rhs: PredicateReflection,
impl<Rhs, P> BitAnd<Rhs> for NamePredicate<P>where
Self: PredicateReflection,
Rhs: PredicateReflection,
source§impl<Rhs, P> BitOr<Rhs> for NamePredicate<P>where
Self: PredicateReflection,
Rhs: PredicateReflection,
impl<Rhs, P> BitOr<Rhs> for NamePredicate<P>where
Self: PredicateReflection,
Rhs: PredicateReflection,
source§impl<P: Clone> Clone for NamePredicate<P>
impl<P: Clone> Clone for NamePredicate<P>
source§fn clone(&self) -> NamePredicate<P>
fn clone(&self) -> NamePredicate<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 NamePredicate<P>
impl<P: Debug> Debug for NamePredicate<P>
source§impl<P: Predicate<str>> Display for NamePredicate<P>
impl<P: Predicate<str>> Display for NamePredicate<P>
source§impl<P: PartialEq> PartialEq<NamePredicate<P>> for NamePredicate<P>
impl<P: PartialEq> PartialEq<NamePredicate<P>> for NamePredicate<P>
source§fn eq(&self, other: &NamePredicate<P>) -> bool
fn eq(&self, other: &NamePredicate<P>) -> bool
source§impl<P: Predicate<str>> Predicate<CapturedSpan<'_>> for NamePredicate<P>
impl<P: Predicate<str>> Predicate<CapturedSpan<'_>> for NamePredicate<P>
source§fn eval(&self, variable: &CapturedSpan<'_>) -> bool
fn eval(&self, variable: &CapturedSpan<'_>) -> bool
source§impl<P: Predicate<str>> PredicateReflection for NamePredicate<P>
impl<P: Predicate<str>> PredicateReflection for NamePredicate<P>
impl<P: Copy> Copy for NamePredicate<P>
impl<P: Eq> Eq for NamePredicate<P>
impl<P> StructuralEq for NamePredicate<P>
impl<P> StructuralPartialEq for NamePredicate<P>
Auto Trait Implementations§
impl<P> RefUnwindSafe for NamePredicate<P>where
P: RefUnwindSafe,
impl<P> Send for NamePredicate<P>where
P: Send,
impl<P> Sync for NamePredicate<P>where
P: Sync,
impl<P> Unpin for NamePredicate<P>where
P: Unpin,
impl<P> UnwindSafe for NamePredicate<P>where
P: UnwindSafe,
Blanket Implementations§
source§impl<P, Item> PredicateBooleanExt<Item> for Pwhere
P: Predicate<Item>,
Item: ?Sized,
impl<P, Item> PredicateBooleanExt<Item> for Pwhere
P: Predicate<Item>,
Item: ?Sized,
source§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