pub struct ObservabilityGuard {}Expand description
Guard that keeps the observability stack active
When dropped, flushes any pending spans to the exporter.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ObservabilityGuard
impl RefUnwindSafe for ObservabilityGuard
impl Send for ObservabilityGuard
impl Sync for ObservabilityGuard
impl Unpin for ObservabilityGuard
impl UnwindSafe for ObservabilityGuard
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