Struct tracing_fluentd::FlushingGuard
source · #[repr(transparent)]pub struct FlushingGuard(_);
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 !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