solana_runtime::snapshot_utils

Function deserialize_snapshot_data_file

source
pub fn deserialize_snapshot_data_file<T: Sized>(
    data_file_path: &Path,
    deserializer: impl FnOnce(&mut BufReader<File>) -> Result<T>,
) -> Result<T>