pub enum ComputePhaseSkipReason {
NoState,
BadState,
NoGas,
}Expand description
Enum with reasons for skipping compute phase.
Variants§
NoState
Contract doesn’t have state to execute.
BadState
Contract state is invalid.
NoGas
Not enough gas to execute compute phase.
Trait Implementations§
source§impl Clone for ComputePhaseSkipReason
impl Clone for ComputePhaseSkipReason
source§fn clone(&self) -> ComputePhaseSkipReason
fn clone(&self) -> ComputePhaseSkipReason
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 ComputePhaseSkipReason
impl Debug for ComputePhaseSkipReason
source§impl<'a, C: CellFamily> Load<'a, C> for ComputePhaseSkipReason
impl<'a, C: CellFamily> Load<'a, C> for ComputePhaseSkipReason
source§impl PartialEq<ComputePhaseSkipReason> for ComputePhaseSkipReason
impl PartialEq<ComputePhaseSkipReason> for ComputePhaseSkipReason
source§fn eq(&self, other: &ComputePhaseSkipReason) -> bool
fn eq(&self, other: &ComputePhaseSkipReason) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl<C: CellFamily> Store<C> for ComputePhaseSkipReason
impl<C: CellFamily> Store<C> for ComputePhaseSkipReason
source§fn store_into(
&self,
builder: &mut CellBuilder<C>,
_: &mut dyn Finalizer<C>
) -> bool
fn store_into(
&self,
builder: &mut CellBuilder<C>,
_: &mut dyn Finalizer<C>
) -> bool
Tries to store itself into the cell builder.