Trait opentelemetry::metrics::sdk_api::InstrumentCore [−][src]
pub trait InstrumentCore: Debug + Send + Sync { fn descriptor(&self) -> &Descriptor; }
This is supported on crate feature
metrics
only.A common interface for synchronous and asynchronous instruments.
Required methods
fn descriptor(&self) -> &Descriptor
[src]
Description of the instrument’s descriptor
Implementors
impl InstrumentCore for NoopAsyncInstrument
[src]
impl InstrumentCore for NoopAsyncInstrument
[src]fn descriptor(&self) -> &Descriptor
[src]
impl InstrumentCore for NoopSyncInstrument
[src]
impl InstrumentCore for NoopSyncInstrument
[src]