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

InvalidParameter

Indicates and invalid parameter

Show fields

Fields of InvalidParameter

text: String

Text

NotImplemented

Indicates that a function is not implemented

Show fields

Fields of NotImplemented

text: String

Text

NotInitialized

Indicates that a function is not initialized

Show fields

Fields of NotInitialized

text: String

Text

ConditionViolated

Indicates that a condition is violated

Show fields

Fields of ConditionViolated

text: String

Text

CheckpointNotFound

Checkpoint was not found

Show fields

Fields of CheckpointNotFound

text: String

Text

ImpossibleError

Indicates an impossible error

Show fields

Fields of ImpossibleError

text: String

Text

Trait Implementations

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

The lower-level source of this error, if any. Read more

🔬 This is a nightly-only experimental API. (backtrace)

Returns a stack backtrace, if available, of where this error occurred. Read more

👎 Deprecated since 1.42.0:

use the Display impl or to_string()

👎 Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.