logo
pub struct BasicProcessor { /* private fields */ }
Available on crate feature metrics only.
Expand description

Basic metric integration strategy

Trait Implementations

Synchronizes the checkpoint process and allows a single locked checkpoint to be accessed at a time. Read more

Formats the value using the given formatter. Read more

AggregatorSelector is responsible for selecting the concrete type of Aggregator used for a metric in the SDK. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Available on crate feature metrics only.

Create an Arc<dyn Processor> from an impl of Processor.

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Attaches the provided Context to this type, returning a WithContext wrapper. Read more

Attaches the current Context to this type, returning a WithContext wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.