Skip to main content

load

Function load 

Source
pub fn load(path: &Path) -> Result<Option<Checkpoint>>
Expand description

Reads a checkpoint file.

§Returns

None if the file does not exist.

§Errors

Returns an error if the file cannot be read or does not parse.