pub enum Rejection {
NotPositive,
Infeasible,
Unresolved,
NotLower,
}Expand description
Why a step was turned down.
Variants§
NotPositive
The damped model’s curvature is not positive.
Infeasible
The residuals cannot be evaluated where it leads.
Unresolved
Cut so short that the linearized model cannot tell it from no step.
NotLower
Where it leads, neither the sum nor the violation is definitely lower than at every point taken before.
Trait Implementations§
impl Copy for Rejection
Source§impl<'de> Deserialize<'de> for Rejection
impl<'de> Deserialize<'de> for Rejection
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Rejection
impl StructuralPartialEq for Rejection
Auto Trait Implementations§
impl Freeze for Rejection
impl RefUnwindSafe for Rejection
impl Send for Rejection
impl Sync for Rejection
impl Unpin for Rejection
impl UnsafeUnpin for Rejection
impl UnwindSafe for Rejection
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