pub struct InMemoryTracingBackend { /* private fields */ }Expand description
In-memory tracing backend for development and testing.
Implementations§
Source§impl InMemoryTracingBackend
impl InMemoryTracingBackend
Sourcepub fn trace_tree(&self, root_id: &str) -> Option<TraceNode>
pub fn trace_tree(&self, root_id: &str) -> Option<TraceNode>
Get the full trace tree rooted at root_id.
Returns None if no span with that ID exists.
Trait Implementations§
Source§impl Default for InMemoryTracingBackend
impl Default for InMemoryTracingBackend
Auto Trait Implementations§
impl !Freeze for InMemoryTracingBackend
impl RefUnwindSafe for InMemoryTracingBackend
impl Send for InMemoryTracingBackend
impl Sync for InMemoryTracingBackend
impl Unpin for InMemoryTracingBackend
impl UnsafeUnpin for InMemoryTracingBackend
impl UnwindSafe for InMemoryTracingBackend
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