Enum libpasta::HashUpdate[][src]

pub enum HashUpdate {
    Verified(Option<String>),
    Failed,
}

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

Password verification succeeded, with new string if migration was performed

Password verification failed

Trait Implementations

impl Debug for HashUpdate
[src]

Formats the value using the given formatter. Read more

impl PartialEq for HashUpdate
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

impl Send for HashUpdate

impl Sync for HashUpdate