Enum runestick::VmHalt[][src]

pub enum VmHalt {
    Exited,
    Limited,
    Yielded,
    Awaited(Awaited),
    VmCall(VmCall),
}
Expand description

The reason why the virtual machine execution stopped.

Variants

Exited

The virtual machine exited by running out of call frames.

Limited

The virtual machine exited because it ran out of execution quota.

Yielded

The virtual machine yielded.

Awaited

The virtual machine awaited on the given future.

Tuple Fields of Awaited

0: Awaited
VmCall

Call into a new virtual machine.

Tuple Fields of VmCall

0: VmCall

Implementations

Convert into cheap info enum which only described the reason.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.