pub enum AccountsPackageKind {
AccountsHashVerifier,
Snapshot(SnapshotKind),
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 AccountsPackageKind
impl Clone for AccountsPackageKind
source§fn clone(&self) -> AccountsPackageKind
fn clone(&self) -> AccountsPackageKind
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 AccountsPackageKind
impl Debug for AccountsPackageKind
source§impl PartialEq for AccountsPackageKind
impl PartialEq for AccountsPackageKind
source§fn eq(&self, other: &AccountsPackageKind) -> bool
fn eq(&self, other: &AccountsPackageKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for AccountsPackageKind
impl Eq for AccountsPackageKind
impl StructuralEq for AccountsPackageKind
impl StructuralPartialEq for AccountsPackageKind
Auto Trait Implementations§
impl RefUnwindSafe for AccountsPackageKind
impl Send for AccountsPackageKind
impl Sync for AccountsPackageKind
impl Unpin for AccountsPackageKind
impl UnwindSafe for AccountsPackageKind
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§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,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§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,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§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,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.