#[repr(u64)]pub enum InvokeOutcomeCode {
Halt = 0,
Panic = 1,
PageFault = 2,
HostCallFault = 3,
OutOfGas = 4,
}Variants§
Halt = 0
HALT Completed normally.
Panic = 1
PANIC Completed with a panic.
PageFault = 2
FAULT Completed with a page fault.
HostCallFault = 3
HOST Completed with a host-call fault.
OutOfGas = 4
OOG Completed by running out of gas.
Trait Implementations§
Source§impl From<InvokeOutcomeCode> for u64
impl From<InvokeOutcomeCode> for u64
Source§fn from(code: InvokeOutcomeCode) -> Self
fn from(code: InvokeOutcomeCode) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for InvokeOutcomeCode
impl RefUnwindSafe for InvokeOutcomeCode
impl Send for InvokeOutcomeCode
impl Sync for InvokeOutcomeCode
impl Unpin for InvokeOutcomeCode
impl UnwindSafe for InvokeOutcomeCode
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