Enum evm::ExitReason [−][src]
pub enum ExitReason {
Succeed(ExitSucceed),
Error(ExitError),
Revert(ExitRevert),
Fatal(ExitFatal),
}Expand description
Exit reason.
Variants
Succeed(ExitSucceed)Machine has succeeded.
Tuple Fields of Succeed
0: ExitSucceedError(ExitError)Machine returns a normal EVM error.
Tuple Fields of Error
0: ExitErrorRevert(ExitRevert)Machine encountered an explict revert.
Tuple Fields of Revert
0: ExitRevertFatal(ExitFatal)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: ExitFatalImplementations
Trait Implementations
Performs the conversion.
Performs the conversion.
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