pub struct WorkerGuard { /* private fields */ }Expand description
Returned alongside NonBlockingWriter; flushes + joins the bg
thread on drop.
Trait Implementations§
Source§impl Debug for WorkerGuard
impl Debug for WorkerGuard
Auto Trait Implementations§
impl Freeze for WorkerGuard
impl !RefUnwindSafe for WorkerGuard
impl Send for WorkerGuard
impl Sync for WorkerGuard
impl Unpin for WorkerGuard
impl UnsafeUnpin for WorkerGuard
impl !UnwindSafe for WorkerGuard
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