pub enum PresolveError {
OptionsError(SolverException),
}Expand description
Errors that can arise while building a presolved TNLP.
Variants§
OptionsError(SolverException)
Trait Implementations§
Source§impl Debug for PresolveError
impl Debug for PresolveError
Source§impl Display for PresolveError
impl Display for PresolveError
Source§impl Error for PresolveError
impl Error for PresolveError
1.30.0 · 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()
Source§impl From<SolverException> for PresolveError
impl From<SolverException> for PresolveError
Source§fn from(e: SolverException) -> Self
fn from(e: SolverException) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PresolveError
impl RefUnwindSafe for PresolveError
impl Send for PresolveError
impl Sync for PresolveError
impl Unpin for PresolveError
impl UnsafeUnpin for PresolveError
impl UnwindSafe for PresolveError
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