forge::revm::interpreter::primitives

Type Alias EVMResultGeneric

pub type EVMResultGeneric<T, DBError> = Result<T, EVMError<DBError>>;
Expand description

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

Aliased Type§

enum EVMResultGeneric<T, DBError> {
    Ok(T),
    Err(EVMError<DBError>),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(EVMError<DBError>)

Contains the error value

Layout§

Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.