pub struct EncryptionKeyError(pub(crate) Error);Expand description
Why get_encryption_key could not derive a
key: Argon2 rejected the password or the salt, such as a salt that is too
short.
Tuple Fields§
§0: ErrorTrait Implementations§
Source§impl Debug for EncryptionKeyError
impl Debug for EncryptionKeyError
Source§impl Display for EncryptionKeyError
impl Display for EncryptionKeyError
Source§impl Error for EncryptionKeyError
impl Error for EncryptionKeyError
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()
Auto Trait Implementations§
impl Freeze for EncryptionKeyError
impl RefUnwindSafe for EncryptionKeyError
impl Send for EncryptionKeyError
impl Sync for EncryptionKeyError
impl Unpin for EncryptionKeyError
impl UnwindSafe for EncryptionKeyError
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