#[non_exhaustive]pub enum DebugYield {
Stop(Yield),
Paused,
}Expand description
Why Vm::run_debug returned.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Stop(Yield)
A stop point or the end, as with Vm::run.
Paused
The hook asked to pause. Call Vm::run_debug or Vm::run to go on.
Trait Implementations§
Source§impl Clone for DebugYield
impl Clone for DebugYield
Source§impl Debug for DebugYield
impl Debug for DebugYield
Source§impl PartialEq for DebugYield
impl PartialEq for DebugYield
impl StructuralPartialEq for DebugYield
Auto Trait Implementations§
impl Forget for DebugYield
impl Freeze for DebugYield
impl Move for DebugYield
impl RefUnwindSafe for DebugYield
impl Send for DebugYield
impl Sync for DebugYield
impl Unpin for DebugYield
impl UnsafeUnpin for DebugYield
impl UnwindSafe for DebugYield
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