pub struct AdoptGuard {}Expand description
RAII guard for cross-thread adoption. Pops the synthetic parent on drop
and propagates CPU time back to the parent’s SpanContext.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AdoptGuard
impl RefUnwindSafe for AdoptGuard
impl Send for AdoptGuard
impl Sync for AdoptGuard
impl Unpin for AdoptGuard
impl UnsafeUnpin for AdoptGuard
impl UnwindSafe for AdoptGuard
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