pub struct TerminatedResult {
pub exit_code: i8,
pub consumed_cycles: Cycle,
}
Expand description
Terminated result
Fields§
§exit_code: i8
Root VM exit code
consumed_cycles: Cycle
Total consumed cycles by all VMs in current scheduler, up to this execution point.
Trait Implementations§
Source§impl Clone for TerminatedResult
impl Clone for TerminatedResult
Source§fn clone(&self) -> TerminatedResult
fn clone(&self) -> TerminatedResult
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 TerminatedResult
impl Debug for TerminatedResult
Source§impl Ord for TerminatedResult
impl Ord for TerminatedResult
Source§fn cmp(&self, other: &TerminatedResult) -> Ordering
fn cmp(&self, other: &TerminatedResult) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TerminatedResult
impl PartialEq for TerminatedResult
Source§impl PartialOrd for TerminatedResult
impl PartialOrd for TerminatedResult
impl Eq for TerminatedResult
impl StructuralPartialEq for TerminatedResult
Auto Trait Implementations§
impl Freeze for TerminatedResult
impl RefUnwindSafe for TerminatedResult
impl Send for TerminatedResult
impl Sync for TerminatedResult
impl Unpin for TerminatedResult
impl UnwindSafe for TerminatedResult
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more