Struct ovr_evm_precompile_sha3fips::Sha3FIPS512
source · [−]pub struct Sha3FIPS512;
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Sha3FIPS512
impl Send for Sha3FIPS512
impl Sync for Sha3FIPS512
impl Unpin for Sha3FIPS512
impl UnwindSafe for Sha3FIPS512
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Precompile for T where
T: LinearCostPrecompile,
impl<T> Precompile for T where
T: LinearCostPrecompile,
sourcefn execute(
input: &[u8],
target_gas: Option<u64>,
&Context,
bool
) -> Result<PrecompileOutput, PrecompileFailure>
fn execute(
input: &[u8],
target_gas: Option<u64>,
&Context,
bool
) -> Result<PrecompileOutput, PrecompileFailure>
Try to execute the precompile. Calculate the amount of gas needed with given input
and
target_gas
. Return Ok(status, output, gas_used)
if the execution is
successful. Otherwise return Err(_)
. Read more