pub fn serialize_bank_snapshot_with<S>(
serializer: S,
bank_fields: BankFieldsToSerialize,
bank_hash_stats: BankHashStats,
accounts_delta_hash: AccountsDeltaHash,
accounts_hash: AccountsHash,
account_storage_entries: &[Vec<Arc<AccountStorageEntry>>],
extra_fields: ExtraFieldsToSerialize<'_>,
write_version: StoredMetaWriteVersion,
) -> Result<S::Ok, S::Error>where
S: Serializer,
Expand description
Serializes bank snapshot with serializer