pub fn load(
path: &Path,
tree: &mut StateTree,
) -> Result<(Vec<u8>, Progress), String>Expand description
Reads a checkpoint into tree, which must be empty. Returns the header and
the counters. The caller’s replay then checks the root against the header.