pub enum NextCall {
Allowed,
Halted,
}Expand description
Whether the wave may start its next call, asked once before each of them.
Narrower than Interrupt on purpose. Between two calls of one
wave, the only instruction this city can carry out at once is
stopping: text that arrives to redirect the work belongs to the
window the executor owns, and the executor folds it there before
answering here.
Variants§
Allowed
Nothing has stopped this run; the call goes ahead.
Halted
A halt reached this run, and the wave ends where it stands.
Trait Implementations§
impl Copy for NextCall
impl Eq for NextCall
impl StructuralPartialEq for NextCall
Auto Trait Implementations§
impl Freeze for NextCall
impl RefUnwindSafe for NextCall
impl Send for NextCall
impl Sync for NextCall
impl Unpin for NextCall
impl UnsafeUnpin for NextCall
impl UnwindSafe for NextCall
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