Enum libpasta::HashUpdate [−][src]
On migrating a hash with the password entered, we reach three possible states:
- Password verified, and the hash was migrated
- Password verified, but the hash did not need to be migrated
- Incorrect password (or other verification failure)
Variants
Verified(Option<String>)
Password verification succeeded, with new string if migration was performed
Failed
Password verification failed
Trait Implementations
impl Debug for HashUpdate
[src]
impl Debug for HashUpdate
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for HashUpdate
[src]
impl PartialEq for HashUpdate
fn eq(&self, other: &HashUpdate) -> bool
[src]
fn eq(&self, other: &HashUpdate) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &HashUpdate) -> bool
[src]
fn ne(&self, other: &HashUpdate) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for HashUpdate
impl Send for HashUpdate
impl Sync for HashUpdate
impl Sync for HashUpdate