pub struct Span { /* fields omitted */ }
Expand description
A Span records a single execution of code associated with a
CallSite.
This is not usually constructed manually but with either the
spanned or instrument macros.
Create a new Span associated with the given callsite.
Enter the span, the span will automatically be exited when the
SpanGuard is dropped.
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.