solana_runtime::snapshot_utils

Function serialize_snapshot_data_file

source
pub fn serialize_snapshot_data_file<F>(
    data_file_path: &Path,
    serializer: F,
) -> Result<u64>
where F: FnOnce(&mut BufWriter<File>) -> Result<()>,