Struct tracing_core::dispatcher::DefaultGuard
source · pub struct DefaultGuard(/* private fields */);
Expand description
A guard that resets the current default dispatcher to the prior default dispatcher when dropped.
Trait Implementations§
source§impl Debug for DefaultGuard
impl Debug for DefaultGuard
Auto Trait Implementations§
impl !RefUnwindSafe for DefaultGuard
impl Send for DefaultGuard
impl Sync for DefaultGuard
impl Unpin for DefaultGuard
impl !UnwindSafe for DefaultGuard
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