FromEvmHalt

Trait FromEvmHalt 

pub trait FromEvmHalt<Halt> {
    // Required method
    fn from_evm_halt(halt: Halt, gas_limit: u64) -> Self;
}
Available on crate feature rpc only.
Expand description

Helper trait to convert from revm errors.

Required Methods§

fn from_evm_halt(halt: Halt, gas_limit: u64) -> Self

Converts from EVM halt to this type.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§