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

pub trait InstrumentCore: Debug + Send + Sync {
    pub fn descriptor(&self) -> &Descriptor;
}
This is supported on crate feature metrics only.

A common interface for synchronous and asynchronous instruments.

Required methods

pub fn descriptor(&self) -> &Descriptor[src]

Description of the instrument's descriptor

Loading content...

Implementors

impl InstrumentCore for NoopAsyncInstrument[src]

impl InstrumentCore for NoopSyncInstrument[src]

Loading content...