Enum argmin::core::ArgminError [−][src]
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
Indicates and invalid parameter
Show fields
Fields of InvalidParameter
text: String
Text
Indicates that a function is not implemented
Show fields
Fields of NotImplemented
text: String
Text
Indicates that a function is not initialized
Show fields
Fields of NotInitialized
text: String
Text
Indicates that a condition is violated
Show fields
Fields of ConditionViolated
text: String
Text
Checkpoint was not found
Show fields
Fields of CheckpointNotFound
text: String
Text
Indicates an impossible error
Show fields
Fields of ImpossibleError
text: String
Text
Trait Implementations
impl Debug for ArgminError
[src]
impl Debug for ArgminError
[src]impl Display for ArgminError
[src]
impl Display for ArgminError
[src]impl Error for ArgminError
[src]
impl Error for ArgminError
[src]fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]The lower-level source of this error, if any. Read more
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]🔬 This is a nightly-only experimental API. (
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
fn description(&self) -> &str
1.0.0[src]
fn description(&self) -> &str
1.0.0[src]👎 Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations
impl RefUnwindSafe for ArgminError
impl Send for ArgminError
impl Sync for ArgminError
impl Unpin for ArgminError
impl UnwindSafe for ArgminError
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> SendSyncUnwindSafe for T where
T: Send + Sync + UnwindSafe + ?Sized,
[src]
T: Send + Sync + UnwindSafe + ?Sized,