pub fn read_checked<T: DeserializeOwned>(
path: &Path,
version: u32,
) -> Result<Vec<T>>Expand description
The checked records of version in path. An incomplete final line is
ignored; a wrong version, a wrong checksum or earlier corruption is an
error.