Skip to main content

IntoInstructionResult

Trait IntoInstructionResult 

Source
pub trait IntoInstructionResult {
    // Required method
    fn into_instruction_result(self) -> InstructionResult;
}
Expand description

Converts a network-specific halt reason into an [InstructionResult].

Required Methods§

Source

fn into_instruction_result(self) -> InstructionResult

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl IntoInstructionResult for HaltReason

Source§

fn into_instruction_result(self) -> InstructionResult

Source§

impl IntoInstructionResult for OpHaltReason

Available on crate feature optimism only.
Source§

fn into_instruction_result(self) -> InstructionResult

Source§

impl IntoInstructionResult for TempoHaltReason

Source§

fn into_instruction_result(self) -> InstructionResult

Implementors§