pub type PrecompileResult = Result<PrecompileOutput, PrecompileErrors>;
Expand description
A precompile operation result.
Returns either Ok((gas_used, return_bytes))
or Err(error)
.
Aliased Type§
enum PrecompileResult {
Ok(PrecompileOutput),
Err(PrecompileErrors),
}
Variants§
Ok(PrecompileOutput)
Contains the success value
Err(PrecompileErrors)
Contains the error value