pub struct LogGuard { /* private fields */ }Expand description
Held by the caller for the life of the process. Dropping it flushes the file writer (SPEC §4.4); it also exposes runtime level control (SPEC §5).
Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for LogGuard
impl !UnwindSafe for LogGuard
impl Freeze for LogGuard
impl Send for LogGuard
impl Sync for LogGuard
impl Unpin for LogGuard
impl UnsafeUnpin for LogGuard
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