pub trait Clock: Send + Sync {
// Required method
fn now(&self) -> String;
}Expand description
Where the engine reads the time. It reads it once per request: that reading is the
issued of every receipt the request signs, and the request’s asof when none is given.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".