pub struct LogHandle {
worker: WorkerGuard,
default: Option<DefaultGuard>,
}Expand description
Keeps the log alive: dropping it flushes the worker and (Scoped) uninstalls the subscriber.
Fields§
§worker: WorkerGuard§default: Option<DefaultGuard>Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for LogHandle
impl !UnwindSafe for LogHandle
impl Freeze for LogHandle
impl Send for LogHandle
impl Sync for LogHandle
impl Unpin for LogHandle
impl UnsafeUnpin for LogHandle
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