Trait Snapshot
metrics_core
pub trait Snapshot { fn record<R: Recorder>(&self, recorder: &mut R); }
A value that holds a point-in-time view of collected metrics.
fn record<R: Recorder>(&self, recorder: &mut R)
Records the snapshot to the given recorder.