pub enum RunResult {
Completed,
Finished {
code: i32,
},
Deadline,
Livelock(String),
}Expand description
run_until’s outcome (scheduler.md’s run_until/step_region return
types, refined only as much as this wave’s tests need).
Variants§
Completed
The wheel emptied naturally with no finish_requested/deadline hit.
Finished
SchedulerOps::request_finish(code) was observed at a timestep
boundary (SC-075).
Deadline
deadline was reached before the run otherwise completed.
Livelock(String)
The delta-loop guard tripped (SC-080/DT-050): a zero-delay loop that never lets time advance. A named runtime error for the caller to report, never a panic; the payload is the guard’s message.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RunResult
impl RefUnwindSafe for RunResult
impl Send for RunResult
impl Sync for RunResult
impl Unpin for RunResult
impl UnsafeUnpin for RunResult
impl UnwindSafe for RunResult
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