Trait Clock
witchcraft_metrics
pub trait Clock: 'static + Sync + Send { pub fn now(&self) -> Instant; }
A source of monotonic time.
pub fn now(&self) -> Instant
Returns the current time.
impl Clock for SystemClock