pub enum SATSolversError {
SolverNotAvailable(String),
SolverBinaryNotFound(PathBuf),
IoError(Error),
}Expand description
Errors that can occur when working with SAT solvers.
This enum represents all possible errors that can be returned by the crate’s public API.
Variants§
SolverNotAvailable(String)
The requested solver is not available in this build.
This occurs when trying to use a solver whose feature flag was not enabled at compile time.
SolverBinaryNotFound(PathBuf)
The solver binary was not found at the expected path.
This typically indicates a build issue where the solver failed to compile or the binary was moved/deleted.
IoError(Error)
An I/O error occurred while executing the solver.
Trait Implementations§
Source§impl Debug for SATSolversError
impl Debug for SATSolversError
Source§impl Display for SATSolversError
impl Display for SATSolversError
Source§impl Error for SATSolversError
impl Error for SATSolversError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for SATSolversError
impl !RefUnwindSafe for SATSolversError
impl Send for SATSolversError
impl Sync for SATSolversError
impl Unpin for SATSolversError
impl !UnwindSafe for SATSolversError
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