pub enum ZeroLamportAccounts {
Excluded,
Included,
}
Expand description
How should zero-lamport accounts be treated by the accounts hasher?
Variants§
Trait Implementations§
source§impl Clone for ZeroLamportAccounts
impl Clone for ZeroLamportAccounts
source§fn clone(&self) -> ZeroLamportAccounts
fn clone(&self) -> ZeroLamportAccounts
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 ZeroLamportAccounts
impl Debug for ZeroLamportAccounts
source§impl PartialEq<ZeroLamportAccounts> for ZeroLamportAccounts
impl PartialEq<ZeroLamportAccounts> for ZeroLamportAccounts
source§fn eq(&self, other: &ZeroLamportAccounts) -> bool
fn eq(&self, other: &ZeroLamportAccounts) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ZeroLamportAccounts
impl Eq for ZeroLamportAccounts
impl StructuralEq for ZeroLamportAccounts
impl StructuralPartialEq for ZeroLamportAccounts
Auto Trait Implementations§
impl RefUnwindSafe for ZeroLamportAccounts
impl Send for ZeroLamportAccounts
impl Sync for ZeroLamportAccounts
impl Unpin for ZeroLamportAccounts
impl UnwindSafe for ZeroLamportAccounts
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.