pub struct SpanGuard<'a> { /* private fields */ }
Expand description
When a SpanGuard
is dropped, it saves the execution time of the
corresponding span in the global call graph.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for SpanGuard<'a>
impl<'a> RefUnwindSafe for SpanGuard<'a>
impl<'a> Send for SpanGuard<'a>
impl<'a> Sync for SpanGuard<'a>
impl<'a> Unpin for SpanGuard<'a>
impl<'a> UnwindSafe for SpanGuard<'a>
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