Enum argmin_core::ArgminError
source · pub enum ArgminError {
InvalidParameter {
text: String,
},
NotImplemented {
text: String,
},
NotInitialized {
text: String,
},
ConditionViolated {
text: String,
},
ImpossibleError {
text: String,
},
}
Variants
InvalidParameter
Fields
text: String
Indicates and invalid parameter
NotImplemented
Fields
text: String
Indicates that a function is not implemented
NotInitialized
Fields
text: String
Indicates that a function is not initialized
ConditionViolated
Fields
text: String
Indicates that a condition is violated
ImpossibleError
Fields
text: String
Indicates an impossible error
Trait Implementations
sourceimpl Debug for ArgminError
impl Debug for ArgminError
sourceimpl Display for ArgminError
impl Display for ArgminError
sourceimpl Fail for ArgminError
impl Fail for ArgminError
sourcefn cause(&self) -> Option<&dyn Fail>
fn cause(&self) -> Option<&dyn Fail>
Returns a reference to the underlying cause of this failure, if it
is an error that wraps other errors. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the
Backtrace
carried by this failure, if it
carries one. Read moreAuto Trait Implementations
impl RefUnwindSafe for ArgminError
impl Send for ArgminError
impl Sync for ArgminError
impl Unpin for ArgminError
impl UnwindSafe for ArgminError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more