pub struct FlushGuard;
Expand description
On drop, calls log::logger()::flush()
.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FlushGuard
impl RefUnwindSafe for FlushGuard
impl Send for FlushGuard
impl Sync for FlushGuard
impl Unpin for FlushGuard
impl UnwindSafe for FlushGuard
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