pub struct Solver { /* private fields */ }Expand description
A solver that was found.
Implementations§
Source§impl Solver
impl Solver
Sourcepub fn find() -> Option<Solver>
pub fn find() -> Option<Solver>
Look for a solver on PATH.
Returns nothing when there is none, which is what lets the tests skip rather than fail on a machine that has not got one. CI has one, and that is where the answer matters.
Sourcepub fn within(self, seconds: u32) -> Solver
pub fn within(self, seconds: u32) -> Solver
How long a single query may take before the answer is Answer::Unknown.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Solver
impl RefUnwindSafe for Solver
impl Send for Solver
impl Sync for Solver
impl Unpin for Solver
impl UnsafeUnpin for Solver
impl UnwindSafe for 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