Enum evm_core::ExitReason [−][src]
pub enum ExitReason { Succeed(ExitSucceed), Error(ExitError), Revert(ExitRevert), Fatal(ExitFatal), }
Expand description
Exit reason.
Variants
Machine has succeeded.
Tuple Fields of Succeed
0: ExitSucceed
Machine returns a normal EVM error.
Tuple Fields of Error
0: ExitError
Machine encountered an explict revert.
Tuple Fields of Revert
0: ExitRevert
Machine encountered an error that is not supposed to be normal EVM errors, such as requiring too much memory to execute.
Tuple Fields of Fatal
0: ExitFatal
Implementations
Trait Implementations
Performs the conversion.
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ExitReason
impl Send for ExitReason
impl Sync for ExitReason
impl Unpin for ExitReason
impl UnwindSafe for ExitReason
Blanket Implementations
Mutably borrows from an owned value. Read more