Enum upm::error::UpmError
[−]
[src]
pub enum UpmError { ReadUnderrun, KeyIVGeneration, AccountParse(Option<String>), Io(Error), BadMagic, BadVersion(u8), Crypto(ErrorStack), BadPassword, InvalidFilename, TimeParseError(ParseError), Sync(String), NoDatabaseFilename, NoDatabasePassword, NoSyncURL, NoSyncCredentials, SyncDatabaseNotFound, Backup(String), FlatpackOverflow, DuplicateAccountName(String), PathNotUnicode(String), }
The errors that may be returned by UPM functions are categorized into these enum variants.
Variants
ReadUnderrun
KeyIVGeneration
AccountParse(Option<String>)
Io(Error)
BadMagic
BadVersion(u8)
Crypto(ErrorStack)
BadPassword
InvalidFilename
TimeParseError(ParseError)
Sync(String)
NoDatabaseFilename
NoDatabasePassword
NoSyncURL
NoSyncCredentials
SyncDatabaseNotFound
Backup(String)
FlatpackOverflow
DuplicateAccountName(String)
PathNotUnicode(String)
Trait Implementations
impl Debug for UpmError
[src]
impl Display for UpmError
[src]
impl Error for UpmError
[src]
fn description(&self) -> &str
Provide terse descriptions of the errors.
fn cause(&self) -> Option<&Error>
For errors which encapsulate another error, allow the caller to fetch the contained error.
impl From<Error> for UpmError
[src]
impl From<ErrorStack> for UpmError
[src]
fn from(err: ErrorStack) -> UpmError
Performs the conversion.
impl From<ParseError> for UpmError
[src]
fn from(err: ParseError) -> UpmError
Performs the conversion.