1use std::time::SystemTime;
23/// Source of the current time.
4///
5/// Used for cache staleness, verdict expiry and lockfile timestamps, so
6/// tests can control time.
7pub trait Clock: std::fmt::Debug + Send + Sync {
8/// The current wall-clock time.
9fn now(&self) -> SystemTime;
10}