pub struct ProcessInstructionResult {
pub compute_units_consumed: u64,
pub result: Result<(), InstructionError>,
}
Fields
compute_units_consumed: u64
result: Result<(), InstructionError>
Trait Implementations
sourceimpl Debug for ProcessInstructionResult
impl Debug for ProcessInstructionResult
sourceimpl PartialEq<ProcessInstructionResult> for ProcessInstructionResult
impl PartialEq<ProcessInstructionResult> for ProcessInstructionResult
sourcefn eq(&self, other: &ProcessInstructionResult) -> bool
fn eq(&self, other: &ProcessInstructionResult) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ProcessInstructionResult) -> bool
fn ne(&self, other: &ProcessInstructionResult) -> bool
This method tests for !=
.
impl StructuralPartialEq for ProcessInstructionResult
Auto Trait Implementations
impl RefUnwindSafe for ProcessInstructionResult
impl Send for ProcessInstructionResult
impl Sync for ProcessInstructionResult
impl Unpin for ProcessInstructionResult
impl UnwindSafe for ProcessInstructionResult
Blanket Implementations
sourceimpl<T> AbiExample for T
impl<T> AbiExample for T
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more