Trait SyncBoundInstrumentCore

Source
pub trait SyncBoundInstrumentCore:
    Debug
    + Send
    + Sync {
    // Required method
    fn record_one(&self, number: Number);
}
Available on crate feature metrics only.
Expand description

The implementation-level interface to a generic synchronous bound instrument

Required Methods§

Source

fn record_one(&self, number: Number)

Capture a single synchronous metric event.

Implementors§