pub struct Async { /* private fields */ }
Expand description
Async
drain
Async
will send all the logging records to a wrapped drain running in another thread.
Note: Dropping Async
waits for it’s worker-thread to finish (thus handle all previous
requests). If you can’t tolerate the delay, make sure you drop Async
drain instance eg. in
another thread.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Async
impl RefUnwindSafe for Async
impl Send for Async
impl Sync for Async
impl Unpin for Async
impl UnwindSafe for Async
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