pub enum ComputePhaseSkipReason {
NoState,
BadState,
NoGas,
Suspended,
}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.
Suspended
Account was suspended by the config.
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<'de> Deserialize<'de> for ComputePhaseSkipReason
impl<'de> Deserialize<'de> for ComputePhaseSkipReason
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<'a> Load<'a> for ComputePhaseSkipReason
impl<'a> Load<'a> 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 Serialize for ComputePhaseSkipReason
impl Serialize for ComputePhaseSkipReason
source§impl Store for ComputePhaseSkipReason
impl Store for ComputePhaseSkipReason
source§fn store_into(
&self,
builder: &mut CellBuilder,
_: &mut dyn Finalizer
) -> Result<(), Error>
fn store_into( &self, builder: &mut CellBuilder, _: &mut dyn Finalizer ) -> Result<(), Error>
Tries to store itself into the cell builder.
impl Copy for ComputePhaseSkipReason
impl Eq for ComputePhaseSkipReason
impl StructuralEq for ComputePhaseSkipReason
impl StructuralPartialEq for ComputePhaseSkipReason
Auto Trait Implementations§
impl RefUnwindSafe for ComputePhaseSkipReason
impl Send for ComputePhaseSkipReason
impl Sync for ComputePhaseSkipReason
impl Unpin for ComputePhaseSkipReason
impl UnwindSafe for ComputePhaseSkipReason
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