pub fn load_checkpoint() -> Result<Option<PipelineCheckpoint>>Expand description
Load an existing checkpoint if one exists.
Returns Ok(Some(checkpoint)) if a valid checkpoint was loaded,
Ok(None) if no checkpoint file exists, or an error if the file
exists but cannot be parsed.
§Errors
Returns an error if the checkpoint file exists but cannot be read or contains invalid JSON.
§Note
This function handles both new format (v1) and legacy checkpoints for backward compatibility. Legacy checkpoints are migrated to the new format automatically.