[][src]Trait opentelemetry::metrics::sdk_api::SyncBoundInstrumentCore

pub trait SyncBoundInstrumentCore: Debug + Send + Sync {
    pub fn record_one(&self, number: Number);
}
This is supported on crate feature metrics only.

The implementation-level interface to a generic synchronous bound instrument

Required methods

pub fn record_one(&self, number: Number)[src]

Capture a single synchronous metric event.

Loading content...

Implementors

impl SyncBoundInstrumentCore for NoopBoundSyncInstrument[src]

Loading content...