pub enum IteratedSolution<'solver> {
Solution(SolutionReference<'solver>),
Finished,
Unknown,
Unsatisfiable,
}Expand description
Enum which specifies the status of the call to SolutionIterator::next_solution.
Variants§
Solution(SolutionReference<'solver>)
A new solution was identified.
Finished
No more solutions exist.
Unknown
The solver was terminated during search.
Unsatisfiable
There exists no solution
Trait Implementations§
Auto Trait Implementations§
impl<'solver> Freeze for IteratedSolution<'solver>
impl<'solver> RefUnwindSafe for IteratedSolution<'solver>
impl<'solver> Send for IteratedSolution<'solver>
impl<'solver> Sync for IteratedSolution<'solver>
impl<'solver> Unpin for IteratedSolution<'solver>
impl<'solver> UnwindSafe for IteratedSolution<'solver>
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
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more