pub enum VMStatus {
Running,
ExitedOk,
ExitedErr(OnChainError),
ExitedNotSupported(NotSupportedError),
}
Expand description
VM Status
Variants
Running
A running VM.
ExitedOk
VM is stopped without errors.
ExitedErr(OnChainError)
VM is stopped due to an error. The state of the VM is before the last failing instruction.
ExitedNotSupported(NotSupportedError)
VM is stopped because it does not support certain operations. The client is expected to either drop the transaction or panic. This rarely happens unless the executor agrees upon on a really large number of gas limit, so it usually can be safely ignored.
Trait Implementations
impl StructuralPartialEq for VMStatus
Auto Trait Implementations
impl RefUnwindSafe for VMStatus
impl Send for VMStatus
impl Sync for VMStatus
impl Unpin for VMStatus
impl UnwindSafe for VMStatus
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more