Trait TxResult
pub trait TxResult {
type HaltReason;
// Required methods
fn result(&self) -> &ExecResultAndState<ExecutionResult<Self::HaltReason>>;
fn into_result(
self,
) -> ExecResultAndState<ExecutionResult<Self::HaltReason>>;
}Available on crate feature
evm only.Expand description
A result of transaction execution.
Required Associated Types§
type HaltReason
type HaltReason
Halt reason.
Required Methods§
fn result(&self) -> &ExecResultAndState<ExecutionResult<Self::HaltReason>>
fn result(&self) -> &ExecResultAndState<ExecutionResult<Self::HaltReason>>
Returns the inner EVM result.
fn into_result(self) -> ExecResultAndState<ExecutionResult<Self::HaltReason>>
fn into_result(self) -> ExecResultAndState<ExecutionResult<Self::HaltReason>>
Consumes self and returns the inner EVM result.