pub trait FromEvmError: From<EthApiError> {
// Required method
fn from_evm_err<E>(err: EVMError<E>) -> Self
where EthApiError: From<E>;
}
Expand description
Helper trait to convert from revm errors.
Required Methods§
Sourcefn from_evm_err<E>(err: EVMError<E>) -> Selfwhere
EthApiError: From<E>,
fn from_evm_err<E>(err: EVMError<E>) -> Selfwhere
EthApiError: From<E>,
Converts from a revm error.
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.