pub enum ArgminError {
InvalidParameter {
text: String,
},
NotImplemented {
text: String,
},
NotInitialized {
text: String,
},
ConditionViolated {
text: String,
},
CheckpointNotFound {
text: String,
},
ImpossibleError {
text: String,
},
}
Expand description
Argmin error type
Variants§
InvalidParameter
Indicates and invalid parameter
NotImplemented
Indicates that a function is not implemented
NotInitialized
Indicates that a function is not initialized
ConditionViolated
Indicates that a condition is violated
CheckpointNotFound
Checkpoint was not found
ImpossibleError
Indicates an impossible error
Trait Implementations§
Source§impl Debug for ArgminError
impl Debug for ArgminError
Source§impl Display for ArgminError
impl Display for ArgminError
Source§impl Error for ArgminError
impl Error for ArgminError
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 ArgminError
impl RefUnwindSafe for ArgminError
impl Send for ArgminError
impl Sync for ArgminError
impl Unpin for ArgminError
impl UnwindSafe for ArgminError
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