Expand description
Versioned state snapshots for long-running engines. Versioned state snapshots for long-running engines.
Any Clone state (an Indicator, an engine::* tracker, a composition graph) can be captured
into a Checkpoint and restored later, in-process, to deterministically save/rewind
execution. When S also implements serde::Serialize/Deserialize (behind the serde
feature), the checkpoint itself becomes serializable for cross-process persistence — no
separate persistence API is required.
Structs§
- Checkpoint
- A versioned, timestamped snapshot of some
Clone-able engine stateS. - Checkpoint
Store - Keeps the single most recent
CheckpointforS, auto-incrementing the version on everyCheckpointStore::save. Suited for a “last confirmed state” rewind point on a long-running engine.