pub enum KeyDerivationError {
Null,
Failed,
}Expand description
Deriving secret key for PassKey.
Variants§
Trait Implementations§
Source§impl Clone for KeyDerivationError
impl Clone for KeyDerivationError
Source§fn clone(&self) -> KeyDerivationError
fn clone(&self) -> KeyDerivationError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for KeyDerivationError
impl Debug for KeyDerivationError
Source§impl Display for KeyDerivationError
impl Display for KeyDerivationError
Source§impl Fail for KeyDerivationError
impl Fail for KeyDerivationError
Source§fn cause(&self) -> Option<&dyn Fail>
fn cause(&self) -> Option<&dyn Fail>
Returns a reference to the underlying cause of this failure, if it
is an error that wraps other errors. Read more
Source§fn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the
Backtrace carried by this failure, if it
carries one. Read moreSource§impl From<KeyDerivationError> for DecryptionError
impl From<KeyDerivationError> for DecryptionError
Source§fn from(err: KeyDerivationError) -> DecryptionError
fn from(err: KeyDerivationError) -> DecryptionError
Converts to this type from the input type.
Source§impl From<KeyDerivationError> for EncryptionError
impl From<KeyDerivationError> for EncryptionError
Source§fn from(err: KeyDerivationError) -> EncryptionError
fn from(err: KeyDerivationError) -> EncryptionError
Converts to this type from the input type.
Source§impl PartialEq for KeyDerivationError
impl PartialEq for KeyDerivationError
impl Copy for KeyDerivationError
impl Eq for KeyDerivationError
impl StructuralPartialEq for KeyDerivationError
Auto Trait Implementations§
impl Freeze for KeyDerivationError
impl RefUnwindSafe for KeyDerivationError
impl Send for KeyDerivationError
impl Sync for KeyDerivationError
impl Unpin for KeyDerivationError
impl UnwindSafe for KeyDerivationError
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