pub enum IncludeSlotInHash {
IncludeSlot,
RemoveSlot,
IrrelevantAssertOnUse,
}
Expand description
temporary enum during feature activation of ignore slot when calculating an account hash #28420
Variants§
IncludeSlot
this is the status quo, prior to feature activation INCLUDE the slot in the account hash calculation
RemoveSlot
this is the value once feature activation occurs do NOT include the slot in the account hash calculation
IrrelevantAssertOnUse
this option should not be used. If it is, this is a panic worthy event. There are code paths where the feature activation status isn’t known, but this value should not possibly be used.
Trait Implementations§
source§impl Clone for IncludeSlotInHash
impl Clone for IncludeSlotInHash
source§fn clone(&self) -> IncludeSlotInHash
fn clone(&self) -> IncludeSlotInHash
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 IncludeSlotInHash
impl Debug for IncludeSlotInHash
source§impl PartialEq for IncludeSlotInHash
impl PartialEq for IncludeSlotInHash
source§fn eq(&self, other: &IncludeSlotInHash) -> bool
fn eq(&self, other: &IncludeSlotInHash) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for IncludeSlotInHash
impl StructuralPartialEq for IncludeSlotInHash
Auto Trait Implementations§
impl RefUnwindSafe for IncludeSlotInHash
impl Send for IncludeSlotInHash
impl Sync for IncludeSlotInHash
impl Unpin for IncludeSlotInHash
impl UnwindSafe for IncludeSlotInHash
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