Trait IntoInstructionResult
pub trait IntoInstructionResult {
// Required method
fn into_instruction_result(self) -> InstructionResult;
}Expand description
Converts a halt reason into an [InstructionResult].
Abstracts over network-specific halt reason types (HaltReason, OpHaltReason)
so that anvil code doesn’t need to match on each variant directly.
Converts a network-specific halt reason into an [InstructionResult].
Required Methods§
fn into_instruction_result(self) -> InstructionResult
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".