pub fn write_snapshot(
dir: &Path,
snapshot: &ChainSnapshot,
) -> Result<(), StorageError>Expand description
Write snapshot into dir (created when absent), replacing the one
there.
ยงErrors
StorageError::Snapshot naming the step that failed.