pub enum VmState {
Continue,
Yield,
}Expand description
The action an interrupt callback asks the VM to take. Mirrors
mlua::VmState.
Variants§
Continue
Keep executing.
Yield
Yield the currently running coroutine (no-op at a non-yieldable point).
Trait Implementations§
impl Copy for VmState
impl Eq for VmState
impl StructuralPartialEq for VmState
Auto Trait Implementations§
impl Freeze for VmState
impl RefUnwindSafe for VmState
impl Send for VmState
impl Sync for VmState
impl Unpin for VmState
impl UnsafeUnpin for VmState
impl UnwindSafe for VmState
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