pub trait WallClock {
// Required method
fn system_time(&self) -> SystemTime;
}Available on non-crate feature
std, or crate feature std and target_family=wasm and target_os=unknown only.Expand description
Source of wall-clock timestamps.
Required Methods§
Sourcefn system_time(&self) -> SystemTime
fn system_time(&self) -> SystemTime
Returns the current wall-clock time.