pub struct TelemetryGuard { /* private fields */ }Expand description
Guard that keeps telemetry systems alive while held. Drop this to flush and shutdown OTel exporters.
Trait Implementations§
Source§impl Default for TelemetryGuard
impl Default for TelemetryGuard
Source§fn default() -> TelemetryGuard
fn default() -> TelemetryGuard
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TelemetryGuard
impl RefUnwindSafe for TelemetryGuard
impl Send for TelemetryGuard
impl Sync for TelemetryGuard
impl Unpin for TelemetryGuard
impl UnwindSafe for TelemetryGuard
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