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