pub struct SpanGuard { /* private fields */ }Expand description
Guard for a tracing span.
When dropped, the span is automatically closed.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for SpanGuard
impl !UnwindSafe for SpanGuard
impl Freeze for SpanGuard
impl Send for SpanGuard
impl Sync for SpanGuard
impl Unpin for SpanGuard
impl UnsafeUnpin for SpanGuard
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