pub enum AccountsPackageType {
AccountsHashVerifier,
Snapshot(SnapshotType),
EpochAccountsHash,
}
Expand description
Accounts packages are sent to the Accounts Hash Verifier for processing. There are multiple types of accounts packages, which are specified as variants in this enum. All accounts packages do share some processing: such as calculating the accounts hash.
Variants§
Trait Implementations§
source§impl Clone for AccountsPackageType
impl Clone for AccountsPackageType
source§fn clone(&self) -> AccountsPackageType
fn clone(&self) -> AccountsPackageType
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 AccountsPackageType
impl Debug for AccountsPackageType
source§impl PartialEq<AccountsPackageType> for AccountsPackageType
impl PartialEq<AccountsPackageType> for AccountsPackageType
source§fn eq(&self, other: &AccountsPackageType) -> bool
fn eq(&self, other: &AccountsPackageType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for AccountsPackageType
impl Eq for AccountsPackageType
impl StructuralEq for AccountsPackageType
impl StructuralPartialEq for AccountsPackageType
Auto Trait Implementations§
impl RefUnwindSafe for AccountsPackageType
impl Send for AccountsPackageType
impl Sync for AccountsPackageType
impl Unpin for AccountsPackageType
impl UnwindSafe for AccountsPackageType
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.