solana_runtime::snapshot_utils

Function deserialize_snapshot_data_files

source
pub fn deserialize_snapshot_data_files<T: Sized>(
    snapshot_root_paths: &SnapshotRootPaths,
    deserializer: impl FnOnce(&mut SnapshotStreams<'_, File>) -> Result<T>,
) -> Result<T>