pub enum CalcAccountsHashDataSource {
IndexForTests,
Storages,
}
Expand description
Specify the source of the accounts data when calculating the accounts hash
Using the Index is meant for testing the hash calculation itself and debugging; not intended during normal validator operation.
Variants§
Trait Implementations§
source§impl Clone for CalcAccountsHashDataSource
impl Clone for CalcAccountsHashDataSource
source§fn clone(&self) -> CalcAccountsHashDataSource
fn clone(&self) -> CalcAccountsHashDataSource
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CalcAccountsHashDataSource
impl Debug for CalcAccountsHashDataSource
source§impl PartialEq<CalcAccountsHashDataSource> for CalcAccountsHashDataSource
impl PartialEq<CalcAccountsHashDataSource> for CalcAccountsHashDataSource
source§fn eq(&self, other: &CalcAccountsHashDataSource) -> bool
fn eq(&self, other: &CalcAccountsHashDataSource) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for CalcAccountsHashDataSource
impl Eq for CalcAccountsHashDataSource
impl StructuralEq for CalcAccountsHashDataSource
impl StructuralPartialEq for CalcAccountsHashDataSource
Auto Trait Implementations§
impl RefUnwindSafe for CalcAccountsHashDataSource
impl Send for CalcAccountsHashDataSource
impl Sync for CalcAccountsHashDataSource
impl Unpin for CalcAccountsHashDataSource
impl UnwindSafe for CalcAccountsHashDataSource
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.