Enum keepass_ng::error::CryptographyError
source · pub enum CryptographyError {
InvalidLength(InvalidLength),
Unpadding(UnpadError),
Padding(PadError),
Argon2(Error),
}Expand description
Errors while performing cryptographic operations
Variants§
Trait Implementations§
source§impl Debug for CryptographyError
impl Debug for CryptographyError
source§impl Display for CryptographyError
impl Display for CryptographyError
source§impl Error for CryptographyError
impl Error for CryptographyError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<CryptographyError> for BlockStreamError
impl From<CryptographyError> for BlockStreamError
source§fn from(source: CryptographyError) -> Self
fn from(source: CryptographyError) -> Self
Converts to this type from the input type.
source§impl From<CryptographyError> for DatabaseIntegrityError
impl From<CryptographyError> for DatabaseIntegrityError
source§fn from(source: CryptographyError) -> Self
fn from(source: CryptographyError) -> Self
Converts to this type from the input type.
source§impl From<CryptographyError> for DatabaseKeyError
impl From<CryptographyError> for DatabaseKeyError
source§fn from(source: CryptographyError) -> Self
fn from(source: CryptographyError) -> Self
Converts to this type from the input type.
source§impl From<CryptographyError> for DatabaseOpenError
impl From<CryptographyError> for DatabaseOpenError
source§fn from(e: CryptographyError) -> Self
fn from(e: CryptographyError) -> Self
Converts to this type from the input type.
source§impl From<CryptographyError> for DatabaseSaveError
impl From<CryptographyError> for DatabaseSaveError
source§fn from(source: CryptographyError) -> Self
fn from(source: CryptographyError) -> Self
Converts to this type from the input type.
source§impl From<CryptographyError> for Error
impl From<CryptographyError> for Error
source§fn from(source: CryptographyError) -> Self
fn from(source: CryptographyError) -> Self
Converts to this type from the input type.
source§impl From<CryptographyError> for InnerCipherConfigError
impl From<CryptographyError> for InnerCipherConfigError
source§fn from(source: CryptographyError) -> Self
fn from(source: CryptographyError) -> Self
Converts to this type from the input type.
source§impl From<CryptographyError> for OuterCipherConfigError
impl From<CryptographyError> for OuterCipherConfigError
source§fn from(source: CryptographyError) -> Self
fn from(source: CryptographyError) -> Self
Converts to this type from the input type.
source§impl From<CryptographyError> for XmlParseError
impl From<CryptographyError> for XmlParseError
source§fn from(source: CryptographyError) -> Self
fn from(source: CryptographyError) -> Self
Converts to this type from the input type.
source§impl From<Error> for CryptographyError
impl From<Error> for CryptographyError
source§impl From<InvalidLength> for CryptographyError
impl From<InvalidLength> for CryptographyError
source§fn from(source: InvalidLength) -> Self
fn from(source: InvalidLength) -> Self
Converts to this type from the input type.
source§impl From<PadError> for CryptographyError
impl From<PadError> for CryptographyError
source§impl From<UnpadError> for CryptographyError
impl From<UnpadError> for CryptographyError
source§fn from(source: UnpadError) -> Self
fn from(source: UnpadError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CryptographyError
impl RefUnwindSafe for CryptographyError
impl Send for CryptographyError
impl Sync for CryptographyError
impl Unpin for CryptographyError
impl UnwindSafe for CryptographyError
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