pub enum SolverServiceStatus {
Sat,
Unsat,
Unknown,
Timeout,
Optimal(u64),
}Expand description
Status returned by the solver-service interface.
Variants§
Sat
The hard constraints are satisfiable.
Unsat
The hard constraints are unsatisfiable.
Unknown
Search was not attempted or no authoritative backend is available.
Timeout
Search was bounded before any assignment could be inspected.
Optimal(u64)
MaxSAT optimum as an integer score.
Trait Implementations§
Source§impl Clone for SolverServiceStatus
impl Clone for SolverServiceStatus
Source§fn clone(&self) -> SolverServiceStatus
fn clone(&self) -> SolverServiceStatus
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SolverServiceStatus
impl Debug for SolverServiceStatus
Source§impl PartialEq for SolverServiceStatus
impl PartialEq for SolverServiceStatus
impl Eq for SolverServiceStatus
impl StructuralPartialEq for SolverServiceStatus
Auto Trait Implementations§
impl Freeze for SolverServiceStatus
impl RefUnwindSafe for SolverServiceStatus
impl Send for SolverServiceStatus
impl Sync for SolverServiceStatus
impl Unpin for SolverServiceStatus
impl UnsafeUnpin for SolverServiceStatus
impl UnwindSafe for SolverServiceStatus
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more