Enum bufkit_data::BufkitDataErr[][src]

pub enum BufkitDataErr {
Show variants SoundingAnalysis(AnalysisError), SoundingBufkit(BufkitFileError), IO(Error), Database(Error), StrumError(ParseError), GeneralError(String), NotInIndex, NotEnoughData, MissingValidTime, MissingStationData, KnownArchiveError(&'static str), LogicError(&'static str), MismatchedIDs { hint: String, parsed: String, }, MismatchedStationNumbers { hint: StationNumber, parsed: StationNumber, }, MismatchedInitializationTimes { hint: NaiveDateTime, parsed: NaiveDateTime, },
}
Expand description

Error from the archive interface.

Variants

SoundingAnalysis(AnalysisError)

Error forwarded from sounding-analysis

SoundingBufkit(BufkitFileError)

Error forwarded from sounding-bufkit

IO(Error)

Error forwarded from std

Database(Error)

Database error

StrumError(ParseError)

Error forwarded from the strum crate

GeneralError(String)

General error with any cause information erased and replaced by a string

NotInIndex

File not found in the index.

NotEnoughData

Not enough data to complete the task.

MissingValidTime

Sounding was missing a valid time

MissingStationData

Missing station information.

KnownArchiveError(&'static str)

An error that is known and hard coded into the library.

LogicError(&'static str)

There was an internal logic error.

MismatchedIDs

The site id didn’t match the hint when adding.

Show fields

Fields of MismatchedIDs

hint: String

The ID that was provided as a hint.

parsed: String

The ID that was parsed from the file.

MismatchedStationNumbers

The station numbers didn’t match.

Show fields

Fields of MismatchedStationNumbers

hint: StationNumber

The StationNumber number with the original request.

parsed: StationNumber

The StationNumber parsed from the file.

MismatchedInitializationTimes

Parsed and expected initialization times didn’t match.

Show fields

Fields of MismatchedInitializationTimes

hint: NaiveDateTime

The initialization time that was expected.

parsed: NaiveDateTime

The inizialization time that was parsed from the file.

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

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

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.