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

A no-op instance of a Meter

Implementations

Create a new no-op meter core.

Trait Implementations

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Captures the function that will be called during data collection. Read more

creates an instrument for recording increasing values.

creates an instrument for recording increasing values.

creates an instrument for recording increasing values via callback.

creates an instrument for recording increasing values via callback.

creates an instrument for recording changes of a value.

creates an instrument for recording changes of a value.

creates an instrument for recording changes of a value.

creates an instrument for recording changes of a value via callback.

creates an instrument for recording the current value via callback.

creates an instrument for recording the current value via callback.

creates an instrument for recording the current value via callback.

creates an instrument for recording a distribution of values.

creates an instrument for recording a distribution of values.

creates an instrument for recording a distribution of values.

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

Returns the argument unchanged.

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.