Struct solana_runtime::accounts_hash::AccountsHash [−][src]
pub struct AccountsHash { pub dummy: i32, }
Fields
dummy: i32
Implementations
pub fn compute_merkle_root_loop<T, F>(
hashes: Vec<T>,
fanout: usize,
extractor: F
) -> Hash where
F: Fn(&T) -> Hash + Sync,
T: Sync,
pub fn compute_merkle_root_from_slices<'a, F>(
total_hashes: usize,
fanout: usize,
max_levels_per_pass: Option<usize>,
get_hashes: F
) -> Hash where
F: Fn(usize) -> &'a [Hash] + Sync,
pub fn compare_two_hash_entries(
a: &CalculateHashIntermediate,
b: &CalculateHashIntermediate
) -> Ordering
pub fn rest_of_hash_calculation(
data_sections_by_pubkey: Vec<Vec<Vec<CalculateHashIntermediate>>>,
stats: &mut HashStats
) -> (Hash, u64)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for AccountsHash
impl Send for AccountsHash
impl Sync for AccountsHash
impl Unpin for AccountsHash
impl UnwindSafe for AccountsHash
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V