pub trait Clock {
// Required method
fn now_ticks(&self) -> u64;
}Expand description
A monotone tick source supplied by the host (the library never reads a clock itself).
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".