Trait TxResult
pub trait TxResult: Send + 'static {
type HaltReason: Send + 'static;
// Required methods
fn result(&self) -> &ExecResultAndState<ExecutionResult<Self::HaltReason>>;
fn into_result(
self,
) -> ExecResultAndState<ExecutionResult<Self::HaltReason>>;
}Expand description
A result of transaction execution.
Required Associated Types§
type HaltReason: Send + 'static
type HaltReason: Send + 'static
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.