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

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.