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§
Ok(PrecompileOutput)
Contains the success value
Err(PrecompileError)
Contains the error value