pub trait InstrumentCore:
Debug
+ Send
+ Sync {
// Required method
fn descriptor(&self) -> &Descriptor;
}
Available on crate feature
metrics
only.Expand description
A common interface for synchronous and asynchronous instruments.
Required Methods§
Sourcefn descriptor(&self) -> &Descriptor
fn descriptor(&self) -> &Descriptor
Description of the instrument’s descriptor