pub trait Clock: WasmCompatSend + WasmCompatSync {
// Required method
fn elapsed(&self) -> Duration;
}Expand description
A host-owned monotonic clock: what a sink stamps Observation::at
from. rig-core reads no clock itself; a test supplies a counter.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".