pub trait WallClock:
Send
+ Sync
+ RefUnwindSafe {
// Required method
fn now_micros(&self) -> Option<i64>;
}Required Methods§
Sourcefn now_micros(&self) -> Option<i64>
fn now_micros(&self) -> Option<i64>
Wall-clock reading in microseconds since the Unix epoch, or None while time is untrusted.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".