pub trait Clock: Send + Sync + 'static { // Required method fn now(&self) -> Instant; }
Abstraction over a time source to improve testability.
Returns the current time instant.