Struct opentelemetry::metrics::SumObserver [−][src]
pub struct SumObserver<T> { /* fields omitted */ }
This is supported on crate feature
metrics
only.Expand description
A metric that captures a precomputed sum of values at a point in time.
Implementations
Returns an Observation
: a BatchObserverCallback
argument, for an
asynchronous instrument. This returns an implementation-level
object for use by the SDK, users should not refer to this.
Trait Implementations
Auto Trait Implementations
impl<T> !RefUnwindSafe for SumObserver<T>
impl<T> Send for SumObserver<T> where
T: Send,
impl<T> Sync for SumObserver<T> where
T: Sync,
impl<T> Unpin for SumObserver<T> where
T: Unpin,
impl<T> !UnwindSafe for SumObserver<T>