Struct opentelemetry::metrics::SumObserverBuilder[][src]

pub struct SumObserverBuilder<'a, T> { /* fields omitted */ }
This is supported on crate feature metrics only.
Expand description

Configuration options for building a SumObserver

Implementations

Set the description of this SumObserver

Set the unit for this SumObserver.

Create a SumObserver from this configuration.

Create a SumObserver from this configuration.

Panics

This method panics if it cannot create an instrument with the provided config. If you want to handle results instead, use try_init

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.