Struct evm::executor::stack::PrecompileOutput
source · pub struct PrecompileOutput {
pub exit_status: ExitSucceed,
pub output: Vec<u8>,
}
Expand description
Data returned by a precompile on success.
Fields§
§exit_status: ExitSucceed
§output: Vec<u8>
Trait Implementations§
source§impl Clone for PrecompileOutput
impl Clone for PrecompileOutput
source§fn clone(&self) -> PrecompileOutput
fn clone(&self) -> PrecompileOutput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PrecompileOutput
impl Debug for PrecompileOutput
source§impl PartialEq for PrecompileOutput
impl PartialEq for PrecompileOutput
source§fn eq(&self, other: &PrecompileOutput) -> bool
fn eq(&self, other: &PrecompileOutput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for PrecompileOutput
impl StructuralEq for PrecompileOutput
impl StructuralPartialEq for PrecompileOutput
Auto Trait Implementations§
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