pub enum OptimizeError {
MaximumStepsReached(usize, String),
NotMinimum(String, String),
}
Expand description
Possible errors encountered when optimizing.
Variants§
Trait Implementations§
Source§impl Debug for OptimizeError
impl Debug for OptimizeError
Source§impl Display for OptimizeError
impl Display for OptimizeError
Source§impl From<ConstitutiveError> for OptimizeError
impl From<ConstitutiveError> for OptimizeError
Source§fn from(_error: ConstitutiveError) -> OptimizeError
fn from(_error: ConstitutiveError) -> OptimizeError
Converts to this type from the input type.
Source§impl From<OptimizeError> for ConstitutiveError
impl From<OptimizeError> for ConstitutiveError
Source§fn from(_error: OptimizeError) -> ConstitutiveError
fn from(_error: OptimizeError) -> ConstitutiveError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for OptimizeError
impl RefUnwindSafe for OptimizeError
impl Send for OptimizeError
impl Sync for OptimizeError
impl Unpin for OptimizeError
impl UnwindSafe for OptimizeError
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