Skip to main content

PrecompileResult

Type Alias PrecompileResult 

Source
pub type PrecompileResult = Result<PrecompileOutput, PrecompileError>;
Expand description

A precompile operation result type for the precompile provider.

Returns either Ok(PrecompileOutput) or Err(PrecompileError). PrecompileError only represents fatal errors that abort EVM execution.

Aliased Type§

pub enum PrecompileResult {
    Ok(PrecompileOutput),
    Err(PrecompileError),
}

Variants§

§1.0.0

Ok(PrecompileOutput)

Contains the success value

§1.0.0

Err(PrecompileError)

Contains the error value