Struct SpanGuard
pub struct SpanGuard { /* private fields */ }
Expand description
Exits and drops the span when this is dropped.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SpanGuard
impl RefUnwindSafe for SpanGuard
impl !Send for SpanGuard
impl Sync for SpanGuard
impl Unpin for SpanGuard
impl UnwindSafe 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