pub enum InvokeOutcome {
Halt,
PageFault(u64),
HostCallFault(u64),
Panic,
OutOfGas,
}Expand description
The successful result of inner PVM invocations.
Variants§
Halt
HALT Completed normally.
PageFault(u64)
FAULT Completed with a page fault.
HostCallFault(u64)
HOST Completed with a host-call fault.
Panic
PANIC Completed with a panic.
OutOfGas
OOG Completed by running out of gas.
Trait 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 moreimpl 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 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