revm_primitives::result

Type Alias EVMResultGeneric

Source
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