Skip to main content

read_checkpoint

Function read_checkpoint 

Source
pub fn read_checkpoint<S: DeserializeOwned>(path: impl AsRef<Path>) -> Result<S>
Available on crate feature serde and non-WebAssembly only.
Expand description

Load a checkpoint previously written by CheckpointWriter into a concrete state, ready to hand back to Executor::new for a warm start.