pub struct FlushingGuard(/* private fields */);
Expand description
Guard that flushes and terminates fluentd
worker.
Droping this guard should be done only when Layer
is no longer needed.
As part of destructor, it awaits to finish flushing fluentd
records.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FlushingGuard
impl !RefUnwindSafe for FlushingGuard
impl Send for FlushingGuard
impl Sync for FlushingGuard
impl Unpin for FlushingGuard
impl !UnwindSafe for FlushingGuard
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