pub enum DatabaseKeyError {
IncorrectKey,
Cryptography(CryptographyError),
Io(Error),
Xml(DeError),
InvalidKeyFile,
ChallengeResponse(ChallengeResponseKeyError),
}Expand description
Errors related to the database key.
Variants§
IncorrectKey
Cryptography(CryptographyError)
Io(Error)
Xml(DeError)
InvalidKeyFile
ChallengeResponse(ChallengeResponseKeyError)
Trait Implementations§
Source§impl Debug for DatabaseKeyError
impl Debug for DatabaseKeyError
Source§impl Display for DatabaseKeyError
impl Display for DatabaseKeyError
Source§impl Error for DatabaseKeyError
impl Error for DatabaseKeyError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<ChallengeResponseKeyError> for DatabaseKeyError
impl From<ChallengeResponseKeyError> for DatabaseKeyError
Source§fn from(source: ChallengeResponseKeyError) -> Self
fn from(source: ChallengeResponseKeyError) -> Self
Converts to this type from the input type.
Source§impl From<DatabaseKeyError> for DatabaseOpenError
impl From<DatabaseKeyError> for DatabaseOpenError
Source§fn from(source: DatabaseKeyError) -> Self
fn from(source: DatabaseKeyError) -> Self
Converts to this type from the input type.
Source§impl From<DatabaseKeyError> for DatabaseSaveError
impl From<DatabaseKeyError> for DatabaseSaveError
Source§fn from(source: DatabaseKeyError) -> Self
fn from(source: DatabaseKeyError) -> Self
Converts to this type from the input type.
Source§impl From<DeError> for DatabaseKeyError
impl From<DeError> for DatabaseKeyError
Auto Trait Implementations§
impl !RefUnwindSafe for DatabaseKeyError
impl !UnwindSafe for DatabaseKeyError
impl Freeze for DatabaseKeyError
impl Send for DatabaseKeyError
impl Sync for DatabaseKeyError
impl Unpin for DatabaseKeyError
impl UnsafeUnpin for DatabaseKeyError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more