pub enum DecryptionError {
Show 21 variants
MissingEncryptDictionary,
MissingVersion,
MissingRevision,
MissingOwnerPassword,
MissingUserPassword,
MissingPermissions,
MissingFileID,
InvalidHashLength,
InvalidKeyLength,
InvalidCipherTextLength,
InvalidPermissionLength,
InvalidVersion,
InvalidRevision,
InvalidType,
NotDecryptable,
IncorrectPassword,
UnsupportedEncryption,
UnsupportedVersion,
UnsupportedRevision,
StringPrep(Error),
Padding,
}
Variants§
MissingEncryptDictionary
MissingVersion
MissingRevision
MissingOwnerPassword
MissingUserPassword
MissingPermissions
MissingFileID
InvalidHashLength
InvalidKeyLength
InvalidCipherTextLength
InvalidPermissionLength
InvalidVersion
InvalidRevision
InvalidType
NotDecryptable
IncorrectPassword
UnsupportedEncryption
UnsupportedVersion
UnsupportedRevision
StringPrep(Error)
Padding
Trait Implementations§
Source§impl Debug for DecryptionError
impl Debug for DecryptionError
Source§impl Display for DecryptionError
impl Display for DecryptionError
Source§impl Error for DecryptionError
impl Error for DecryptionError
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<DecryptionError> for Error
impl From<DecryptionError> for Error
Source§fn from(source: DecryptionError) -> Error
fn from(source: DecryptionError) -> Error
Converts to this type from the input type.
Source§impl From<Error> for DecryptionError
impl From<Error> for DecryptionError
Source§fn from(source: Error) -> DecryptionError
fn from(source: Error) -> DecryptionError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DecryptionError
impl RefUnwindSafe for DecryptionError
impl Send for DecryptionError
impl Sync for DecryptionError
impl Unpin for DecryptionError
impl UnwindSafe for DecryptionError
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