#[repr(u8)]
pub enum InstructionResult {
Show 24 variants
Continue,
Stop,
Return,
SelfDestruct,
Revert,
CallTooDeep,
OutOfFund,
OutOfGas,
OpcodeNotFound,
CallNotAllowedInsideStatic,
StateChangeDuringStaticCall,
InvalidFEOpcode,
InvalidJump,
NotActivated,
StackUnderflow,
StackOverflow,
OutOfOffset,
CreateCollision,
OverflowPayment,
PrecompileError,
NonceOverflow,
CreateContractSizeLimit,
CreateContractStartingWithEF,
FatalExternalError,
}
Variants§
Continue
Stop
Return
SelfDestruct
Revert
CallTooDeep
OutOfFund
OutOfGas
OpcodeNotFound
CallNotAllowedInsideStatic
StateChangeDuringStaticCall
InvalidFEOpcode
InvalidJump
NotActivated
StackUnderflow
StackOverflow
OutOfOffset
CreateCollision
OverflowPayment
PrecompileError
NonceOverflow
CreateContractSizeLimit
Create init code size exceeds limit (runtime).
CreateContractStartingWithEF
Error on created contract that begins with EF
FatalExternalError
Trait Implementations§
source§impl Clone for InstructionResult
impl Clone for InstructionResult
source§fn clone(&self) -> InstructionResult
fn clone(&self) -> InstructionResult
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 InstructionResult
impl Debug for InstructionResult
source§impl From<InstructionResult> for SuccessOrHalt
impl From<InstructionResult> for SuccessOrHalt
source§fn from(result: InstructionResult) -> Self
fn from(result: InstructionResult) -> Self
Converts to this type from the input type.
source§impl PartialEq<InstructionResult> for InstructionResult
impl PartialEq<InstructionResult> for InstructionResult
source§fn eq(&self, other: &InstructionResult) -> bool
fn eq(&self, other: &InstructionResult) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for InstructionResult
impl Eq for InstructionResult
impl StructuralEq for InstructionResult
impl StructuralPartialEq for InstructionResult
Auto Trait Implementations§
impl RefUnwindSafe for InstructionResult
impl Send for InstructionResult
impl Sync for InstructionResult
impl Unpin for InstructionResult
impl UnwindSafe for InstructionResult
Blanket Implementations§
§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,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more