#[repr(u8)]
pub enum TxBankExecutorCacheDiff {
None,
Inserted,
Updated,
}
Expand description
Relation between a TransactionExecutorCacheEntry and its matching BankExecutorCacheEntry
Variants§
None
The TransactionExecutorCacheEntry did not change and is the same as the BankExecutorCacheEntry.
Inserted
The TransactionExecutorCacheEntry was inserted, no matching BankExecutorCacheEntry exists, so it needs to be inserted.
Updated
The TransactionExecutorCacheEntry was replaced, the matching BankExecutorCacheEntry needs to be updated.
Trait Implementations§
source§impl Clone for TxBankExecutorCacheDiff
impl Clone for TxBankExecutorCacheDiff
source§fn clone(&self) -> TxBankExecutorCacheDiff
fn clone(&self) -> TxBankExecutorCacheDiff
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 TxBankExecutorCacheDiff
impl Debug for TxBankExecutorCacheDiff
source§impl PartialEq<TxBankExecutorCacheDiff> for TxBankExecutorCacheDiff
impl PartialEq<TxBankExecutorCacheDiff> for TxBankExecutorCacheDiff
source§fn eq(&self, other: &TxBankExecutorCacheDiff) -> bool
fn eq(&self, other: &TxBankExecutorCacheDiff) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for TxBankExecutorCacheDiff
impl Eq for TxBankExecutorCacheDiff
impl StructuralEq for TxBankExecutorCacheDiff
impl StructuralPartialEq for TxBankExecutorCacheDiff
Auto Trait Implementations§
impl RefUnwindSafe for TxBankExecutorCacheDiff
impl Send for TxBankExecutorCacheDiff
impl Sync for TxBankExecutorCacheDiff
impl Unpin for TxBankExecutorCacheDiff
impl UnwindSafe for TxBankExecutorCacheDiff
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.