Struct zksync_vm2::precompiles::PrecompileOutput
source · pub struct PrecompileOutput { /* private fields */ }
Expand description
Output of a precompile call returned from Precompiles::call_precompile()
.
Implementations§
source§impl PrecompileOutput
impl PrecompileOutput
sourcepub fn with_cycle_stats(self, stats: CycleStats) -> Self
pub fn with_cycle_stats(self, stats: CycleStats) -> Self
Assigns cycle stats for this output.
Trait Implementations§
source§impl Debug for PrecompileOutput
impl Debug for PrecompileOutput
source§impl Default for PrecompileOutput
impl Default for PrecompileOutput
source§fn default() -> PrecompileOutput
fn default() -> PrecompileOutput
Returns the “default value” for a type. Read more
source§impl From<[U256; 2]> for PrecompileOutput
impl From<[U256; 2]> for PrecompileOutput
Auto Trait Implementations§
impl Freeze for PrecompileOutput
impl RefUnwindSafe for PrecompileOutput
impl Send for PrecompileOutput
impl Sync for PrecompileOutput
impl Unpin for PrecompileOutput
impl UnwindSafe for PrecompileOutput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more