phoxal_runtime_contract/clock.rs
1//! The persisted execution time domain shared by bundles and process protocols.
2
3/// The time domain one compiled robot executes in.
4#[derive(Clone, Copy, Debug, Default, Eq, PartialEq, serde::Deserialize, serde::Serialize)]
5#[serde(rename_all = "snake_case")]
6pub enum Clock {
7 /// Host boot-anchored time driven by real hardware.
8 #[default]
9 Real,
10 /// Time published by a simulation world authority.
11 Simulated,
12}