pub enum SolveEvent<'a> {
Model(&'a mut Model),
Unsat,
Statistics {
step: &'a mut Statistics,
akku: &'a mut Statistics,
},
Finish(&'a mut SolveResult),
}Expand description
Enumeration of solve events.
Variants§
Model(&'a mut Model)
Issued if a model is found.
Unsat
Issued if an optimization problem is found unsatisfiable.
Statistics
Issued when the statistics can be updated.
Finish(&'a mut SolveResult)
Issued if the search has completed.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for SolveEvent<'a>
impl<'a> RefUnwindSafe for SolveEvent<'a>
impl<'a> Send for SolveEvent<'a>
impl<'a> Sync for SolveEvent<'a>
impl<'a> Unpin for SolveEvent<'a>
impl<'a> !UnwindSafe for SolveEvent<'a>
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