pub enum Progress {
Solution,
Paused,
Complete,
}Expand description
Where a resumable search stands.
Variants§
Solution
The domains hold a solution, one value per variable. Resuming continues after it.
Paused
The budget stopped the search. Resuming continues where it stopped.
Complete
The search space is exhausted, and the domains are as they were at
Solver::begin. Also returned when no search is in progress.
Trait Implementations§
impl Copy for Progress
impl Eq for Progress
impl StructuralPartialEq for Progress
Auto Trait Implementations§
impl Forget for Progress
impl Freeze for Progress
impl Move for Progress
impl RefUnwindSafe for Progress
impl Send for Progress
impl Sync for Progress
impl Unpin for Progress
impl UnsafeUnpin for Progress
impl UnwindSafe for Progress
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