Enum hc_seed_bundle::LockedSeedCipher
source · #[non_exhaustive]pub enum LockedSeedCipher {
PwHash(LockedSeedCipherPwHash),
SecurityQuestions(LockedSeedCipherSecurityQuestions),
UnsupportedCipher(Box<str>),
}
Expand description
Enum of Locked SeedCipher types handled by this library.
These are obtained by calling crate::UnlockedSeedBundle::from_locked.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
PwHash(LockedSeedCipherPwHash)
This locked cipher is a simple pwHash type.
SecurityQuestions(LockedSeedCipherSecurityQuestions)
This locked cipher is based on security question answers.
UnsupportedCipher(Box<str>)
The type-name of a cipher not yet supported by this library.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for LockedSeedCipher
impl Send for LockedSeedCipher
impl Sync for LockedSeedCipher
impl Unpin for LockedSeedCipher
impl !UnwindSafe for LockedSeedCipher
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