[][src]Trait metrics_core::Snapshot

pub trait Snapshot {
    fn record<R: Recorder>(&self, recorder: &mut R);
}

A value that holds a point-in-time view of collected metrics.

Required methods

fn record<R: Recorder>(&self, recorder: &mut R)

Records the snapshot to the given recorder.

Loading content...

Implementors

Loading content...