pub enum MatrixFreeTrustRegionError {
ObjectiveFailed {
message: String,
},
NonFiniteObjective,
OperatorDimensionMismatch {
expected: usize,
got: usize,
},
TrustRegionRejectFloor {
last_solution: Box<Solution>,
},
MaxIterationsReached {
last_solution: Box<Solution>,
},
}Variants§
ObjectiveFailed
NonFiniteObjective
OperatorDimensionMismatch
TrustRegionRejectFloor
MaxIterationsReached
Trait Implementations§
Source§impl Debug for MatrixFreeTrustRegionError
impl Debug for MatrixFreeTrustRegionError
Source§impl Display for MatrixFreeTrustRegionError
impl Display for MatrixFreeTrustRegionError
Source§impl Error for MatrixFreeTrustRegionError
impl Error for MatrixFreeTrustRegionError
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()
Auto Trait Implementations§
impl Freeze for MatrixFreeTrustRegionError
impl RefUnwindSafe for MatrixFreeTrustRegionError
impl Send for MatrixFreeTrustRegionError
impl Sync for MatrixFreeTrustRegionError
impl Unpin for MatrixFreeTrustRegionError
impl UnsafeUnpin for MatrixFreeTrustRegionError
impl UnwindSafe for MatrixFreeTrustRegionError
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