Struct tracing_capture::predicates::TargetPredicate
source · pub struct TargetPredicate<P> { /* private fields */ }
Expand description
Predicate for the target of a CapturedSpan
or CapturedEvent
returned by
the target()
function.
Trait Implementations§
source§impl<Rhs, P> BitAnd<Rhs> for TargetPredicate<P>where
Self: PredicateReflection,
Rhs: PredicateReflection,
impl<Rhs, P> BitAnd<Rhs> for TargetPredicate<P>where
Self: PredicateReflection,
Rhs: PredicateReflection,
source§impl<Rhs, P> BitOr<Rhs> for TargetPredicate<P>where
Self: PredicateReflection,
Rhs: PredicateReflection,
impl<Rhs, P> BitOr<Rhs> for TargetPredicate<P>where
Self: PredicateReflection,
Rhs: PredicateReflection,
source§impl<P: Clone> Clone for TargetPredicate<P>
impl<P: Clone> Clone for TargetPredicate<P>
source§fn clone(&self) -> TargetPredicate<P>
fn clone(&self) -> TargetPredicate<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 TargetPredicate<P>
impl<P: Debug> Debug for TargetPredicate<P>
source§impl<P: Predicate<str>> Display for TargetPredicate<P>
impl<P: Predicate<str>> Display for TargetPredicate<P>
source§impl<P: PartialEq> PartialEq for TargetPredicate<P>
impl<P: PartialEq> PartialEq for TargetPredicate<P>
source§fn eq(&self, other: &TargetPredicate<P>) -> bool
fn eq(&self, other: &TargetPredicate<P>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<'a, P: Predicate<str>, T: Captured<'a>> Predicate<T> for TargetPredicate<P>
impl<'a, P: Predicate<str>, T: Captured<'a>> Predicate<T> for TargetPredicate<P>
source§impl<P: Predicate<str>> PredicateReflection for TargetPredicate<P>
impl<P: Predicate<str>> PredicateReflection for TargetPredicate<P>
impl<P: Copy> Copy for TargetPredicate<P>
impl<P: Eq> Eq for TargetPredicate<P>
impl<P> StructuralPartialEq for TargetPredicate<P>
Auto Trait Implementations§
impl<P> Freeze for TargetPredicate<P>where
P: Freeze,
impl<P> RefUnwindSafe for TargetPredicate<P>where
P: RefUnwindSafe,
impl<P> Send for TargetPredicate<P>where
P: Send,
impl<P> Sync for TargetPredicate<P>where
P: Sync,
impl<P> Unpin for TargetPredicate<P>where
P: Unpin,
impl<P> UnwindSafe for TargetPredicate<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