Struct opentelemetry::metrics::noop::NoopSyncInstrument[][src]

pub struct NoopSyncInstrument { /* fields omitted */ }
This is supported on crate feature metrics only.
Expand description

A no-op sync instrument

Implementations

Create a new no-op sync instrument

Trait Implementations

Formats the value using the given formatter. Read more

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

Description of the instrument’s descriptor

Creates an implementation-level bound instrument, binding an attribute set with this instrument implementation. Read more

Capture a single synchronous metric event.

Returns self as any

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.