pub enum IteratedSolution {
Solution(Solution),
Finished,
Unknown,
Unsatisfiable,
}Expand description
Enum which specifies the status of the call to SolutionIterator::next_solution.
Variants§
Solution(Solution)
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 Freeze for IteratedSolution
impl RefUnwindSafe for IteratedSolution
impl Send for IteratedSolution
impl Sync for IteratedSolution
impl Unpin for IteratedSolution
impl UnwindSafe for IteratedSolution
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