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].