Struct tracing_causality::Trace
source · [−]Expand description
A causality graph, rooted at a given Id
.
Implementations
sourceimpl<M> Trace<M> where
M: Clone + Debug,
impl<M> Trace<M> where
M: Clone + Debug,
pub fn with_root(root: Span<M>) -> Self
sourcepub fn root_consequences(&self) -> &Consequences<M>
pub fn root_consequences(&self) -> &Consequences<M>
The consequences of the root
span of this trace.
sourcepub fn consequences(&self, span: &Span<M>) -> Option<&Consequences<M>>
pub fn consequences(&self, span: &Span<M>) -> Option<&Consequences<M>>
The consequences of the given id
.
Trait Implementations
Auto Trait Implementations
impl<M> RefUnwindSafe for Trace<M> where
M: RefUnwindSafe,
impl<M> Send for Trace<M> where
M: Send,
impl<M> Sync for Trace<M> where
M: Sync,
impl<M> Unpin for Trace<M> where
M: Unpin,
impl<M> UnwindSafe for Trace<M> where
M: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more