pub struct LogGuard { /* private fields */ }Expand description
Guard that keeps the non-blocking writer alive. Must be held for the lifetime of the program — dropping it flushes pending writes.
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