Struct ovr_evm_precompile_modexp::Modexp
source · [−]pub struct Modexp;
Trait Implementations
sourceimpl Precompile for Modexp
impl Precompile for Modexp
sourcefn execute(
input: &[u8],
target_gas: Option<u64>,
_context: &Context,
_is_static: bool
) -> PrecompileResult
fn execute(
input: &[u8],
target_gas: Option<u64>,
_context: &Context,
_is_static: bool
) -> PrecompileResult
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
Auto Trait Implementations
impl RefUnwindSafe for Modexp
impl Send for Modexp
impl Sync for Modexp
impl Unpin for Modexp
impl UnwindSafe for Modexp
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