pub struct LogGuard(/* private fields */);Expand description
Wraps the WorkerGuard from tracing-appender.
Must be kept alive until the end of main() to guarantee that the
non-blocking log writer flushes its buffer before the process exits.
Trait 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