Expand description
Model state persistence via a versioned Snapshot envelope.
Only available when the serde feature is enabled.
Structs§
- Snapshot
- A versioned envelope around a serializable model state.
Constants§
- MAX_
SNAPSHOT_ JSON_ BYTES - Maximum byte length accepted by the validated restore entry points
(
from_jsonin Python/WASM bindings and [Snapshot::from_json_validated]). - SNAPSHOT_
FORMAT_ VERSION - The current snapshot format version.
Traits§
- Validate
State - Unified state-validation interface for restorable model types.