Enum ethcore::state::CleanupMode
source · [−]Expand description
Mode of dealing with null accounts.
Variants
ForceCreate
Create accounts which would be null.
NoEmpty
Don’t delete null accounts upon touching, but also don’t create them.
TrackTouched(&'a mut HashSet<Address>)
Mark all touched accounts.
Trait Implementations
sourceimpl<'a> PartialEq<CleanupMode<'a>> for CleanupMode<'a>
impl<'a> PartialEq<CleanupMode<'a>> for CleanupMode<'a>
sourcefn eq(&self, other: &CleanupMode<'a>) -> bool
fn eq(&self, other: &CleanupMode<'a>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CleanupMode<'a>) -> bool
fn ne(&self, other: &CleanupMode<'a>) -> bool
This method tests for !=
.
impl<'a> StructuralPartialEq for CleanupMode<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for CleanupMode<'a>
impl<'a> Send for CleanupMode<'a>
impl<'a> Sync for CleanupMode<'a>
impl<'a> Unpin for CleanupMode<'a>
impl<'a> !UnwindSafe for CleanupMode<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more