Enum rune::runtime::VmHaltInfo
source · pub enum VmHaltInfo {
Exited,
Limited,
Yielded,
Awaited,
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.
VmCall
Received instruction to push the inner virtual machine.
Trait Implementations§
source§impl Clone for VmHaltInfo
impl Clone for VmHaltInfo
source§fn clone(&self) -> VmHaltInfo
fn clone(&self) -> VmHaltInfo
Returns a copy 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 moresource§impl Debug for VmHaltInfo
impl Debug for VmHaltInfo
source§impl Display for VmHaltInfo
impl Display for VmHaltInfo
impl Copy for VmHaltInfo
Auto Trait Implementations§
impl RefUnwindSafe for VmHaltInfo
impl Send for VmHaltInfo
impl Sync for VmHaltInfo
impl Unpin for VmHaltInfo
impl UnwindSafe for VmHaltInfo
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