revm_wiring::result

Type Alias EVMResultGeneric

Source
pub type EVMResultGeneric<T, EvmWiringT> = Result<T, EVMErrorForChain<EvmWiringT>>;
Expand description

Generic result of EVM execution. Used to represent error and generic output.

Aliased Type§

enum EVMResultGeneric<T, EvmWiringT> {
    Ok(T),
    Err(EVMError<<<EvmWiringT as EvmWiring>::Database as Database>::Error, <<EvmWiringT as EvmWiring>::Transaction as Transaction>::TransactionError>),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(EVMError<<<EvmWiringT as EvmWiring>::Database as Database>::Error, <<EvmWiringT as EvmWiring>::Transaction as Transaction>::TransactionError>)

Contains the error value