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
File not found in the index.
Not enough data to complete the task.
Sounding was missing a valid time
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.
The site id didn’t match the hint when adding.
Show fields
The station numbers didn’t match.
Show fields
Fields of MismatchedStationNumbers
hint: StationNumberThe StationNumber number with the original request.
parsed: StationNumberThe StationNumber parsed from the file.
Parsed and expected initialization times didn’t match.
Show fields
Fields of MismatchedInitializationTimes
hint: NaiveDateTimeThe initialization time that was expected.
parsed: NaiveDateTimeThe inizialization time that was parsed from the file.
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for BufkitDataErrimpl Send for BufkitDataErrimpl Sync for BufkitDataErrimpl Unpin for BufkitDataErrimpl !UnwindSafe for BufkitDataErr