pub struct InvokeOutcome {
pub return_value: u64,
pub gas_used: u64,
}Expand description
Result of a successful invocation. Extensible — fields land as needed (gas remaining, post-invocation cap hash, host-call trace, …). For the skeleton we expose only the JAVM HALT return value and gas used.
Fields§
§return_value: u64§gas_used: u64Trait Implementations§
Source§impl Clone for InvokeOutcome
impl Clone for InvokeOutcome
Source§fn clone(&self) -> InvokeOutcome
fn clone(&self) -> InvokeOutcome
Returns a duplicate 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 InvokeOutcome
impl Debug for InvokeOutcome
impl Copy for InvokeOutcome
Auto Trait Implementations§
impl Freeze for InvokeOutcome
impl RefUnwindSafe for InvokeOutcome
impl Send for InvokeOutcome
impl Sync for InvokeOutcome
impl Unpin for InvokeOutcome
impl UnsafeUnpin for InvokeOutcome
impl UnwindSafe for InvokeOutcome
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