pub struct GuardaLog(/* 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.
Auto Trait Implementations§
impl Freeze for GuardaLog
impl !RefUnwindSafe for GuardaLog
impl Send for GuardaLog
impl Sync for GuardaLog
impl Unpin for GuardaLog
impl UnsafeUnpin for GuardaLog
impl !UnwindSafe for GuardaLog
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