pub struct OpenTelemetryMetrics { /* private fields */ }Expand description
Registration guard for the OpenTelemetry observable instruments.
Keep this value alive for as long as metrics should be exported. Dropping it unregisters the callbacks according to the active OpenTelemetry provider.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for OpenTelemetryMetrics
impl RefUnwindSafe for OpenTelemetryMetrics
impl Send for OpenTelemetryMetrics
impl Sync for OpenTelemetryMetrics
impl Unpin for OpenTelemetryMetrics
impl UnsafeUnpin for OpenTelemetryMetrics
impl UnwindSafe for OpenTelemetryMetrics
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