pub enum RunState {
Finished,
Suspended,
}Expand description
Where a program stands after it has run for a while.
Variants§
Finished
The program has ended.
Suspended
The program is waiting for something the host did not have yet:
a line of input, a key, or the end of a pause. The host calls
Vm::resume when it has it.
Trait Implementations§
impl Copy for RunState
impl Eq for RunState
impl StructuralPartialEq for RunState
Auto Trait Implementations§
impl Forget for RunState
impl Freeze for RunState
impl Move for RunState
impl RefUnwindSafe for RunState
impl Send for RunState
impl Sync for RunState
impl Unpin for RunState
impl UnsafeUnpin for RunState
impl UnwindSafe for RunState
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.