pub struct DebugModeGuard { /* private fields */ }Expand description
Guard that restores the previous log level when dropped.
This is useful for temporarily increasing verbosity during debugging.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DebugModeGuard
impl !RefUnwindSafe for DebugModeGuard
impl Send for DebugModeGuard
impl Sync for DebugModeGuard
impl Unpin for DebugModeGuard
impl UnsafeUnpin for DebugModeGuard
impl !UnwindSafe for DebugModeGuard
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