pub trait ExactWorkflowClock: Send + Sync {
// Required method
fn unix_millis(&self) -> Result<u64, ExactWorkflowError>;
}Expand description
Injectable wall clock. Time is a liveness budget, never ordering or commit evidence.
Required Methods§
fn unix_millis(&self) -> Result<u64, ExactWorkflowError>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".