#[repr(u32)]pub enum InnerResultCode {
Halt = 0,
Panic = 1,
PageFault = 2,
HostCallFault = 3,
OutOfGas = 4,
}Expand description
The result code returned by inner PVM invocations.
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.
Auto Trait Implementations§
impl Freeze for InnerResultCode
impl RefUnwindSafe for InnerResultCode
impl Send for InnerResultCode
impl Sync for InnerResultCode
impl Unpin for InnerResultCode
impl UnwindSafe for InnerResultCode
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