pub trait Clock: Send + Sync { // Required methods fn now(&self) -> Timestamp; fn clone_box(&self) -> Box<dyn Clock>; }
A trait for providing the current time.