Type Alias precompile_utils::EvmResult

source ·
pub type EvmResult<T = ()> = Result<T, PrecompileFailure>;
Expand description

Alias for Result returning an EVM precompile error.

Aliased Type§

enum EvmResult<T = ()> {
    Ok(T),
    Err(PrecompileFailure),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(PrecompileFailure)

Contains the error value