pub trait WallClock: 'static + Send + Sync {
// Required method
fn get_time_since_epoch(&self) -> Duration;
}
Expand description
A trait for the callback used to retrieve the system / wall clock time.
pub trait WallClock: 'static + Send + Sync {
// Required method
fn get_time_since_epoch(&self) -> Duration;
}
A trait for the callback used to retrieve the system / wall clock time.