pub trait Clock { // Required method fn get_time(&self) -> Timestamp; }
A Clock is a source of Timestamps.
Clock
Timestamp
Returns the current Timestamp