pub enum QbtCredentialMigration {
NoOp,
Upgraded,
}Expand description
Outcome of a legacy-plaintext migration pass (M172a A3 / C2).
Variants§
NoOp
password_hash already present or nothing to migrate — no change.
Upgraded
Plaintext was hashed and written back into password_hash; the
in-memory password was zeroed. The in-memory settings are mutated
in place; callers should persist the mutation.
Trait Implementations§
Source§impl Clone for QbtCredentialMigration
impl Clone for QbtCredentialMigration
Source§fn clone(&self) -> QbtCredentialMigration
fn clone(&self) -> QbtCredentialMigration
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 QbtCredentialMigration
impl Debug for QbtCredentialMigration
Source§impl PartialEq for QbtCredentialMigration
impl PartialEq for QbtCredentialMigration
Source§fn eq(&self, other: &QbtCredentialMigration) -> bool
fn eq(&self, other: &QbtCredentialMigration) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for QbtCredentialMigration
impl Eq for QbtCredentialMigration
impl StructuralPartialEq for QbtCredentialMigration
Auto Trait Implementations§
impl Freeze for QbtCredentialMigration
impl RefUnwindSafe for QbtCredentialMigration
impl Send for QbtCredentialMigration
impl Sync for QbtCredentialMigration
impl Unpin for QbtCredentialMigration
impl UnsafeUnpin for QbtCredentialMigration
impl UnwindSafe for QbtCredentialMigration
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.