pub fn verify_password(
        &self,
        phfs: &[&dyn PasswordVerifier],
        password: impl AsRef<[u8]>,
    ) -> Result<()> {
        for &phf in phfs {
            if phf.verify_password(password.as_ref(), self).is_ok() {
                return Ok(());
            }
        }

        Err(Error::Password)
    }
/// Verify this password hash using the specified set of supported
/// [`PasswordHasher`] trait objects.
Verify this password hash using the specified set of supported
[`PasswordHasher`] trait objects.
Verify this password hash using the specified set of supported [ ` PasswordHasher ` ] trait objects .
pub fn verify_password(
        &self,
        phfs: &[&dyn PasswordVerifier],
        password: impl AsRef<[u8]>,
    ) -> Result<()> {
        for &phf in phfs {
            if phf.verify_password(password.as_ref(), self).is_ok() {
                return Ok(());
            }
        }
        Err(Error::Password)
    }
pub fn verify_password ( & self , phfs : & [ & dyn PasswordVerifier ] , password : impl AsRef < [ u8 ] > , ) -> Result < ( ) > { for & phf in phfs { if phf . verify_password ( password . as_ref ( ) , self ) . is_ok ( ) { return Ok ( ( ) ) ; } } Err ( Error :: Password ) }
Verify this password hash using the specified set of supported
[`PasswordHasher`] trait objects.
Verify this password hash using the specified set of supported [ ` PasswordHasher ` ] trait objects .
&self
phfs
&[&dyn PasswordVerifier]
password
impl AsRef<[u8]>
&self
phfs
&[&dyn PasswordVerifier]
password
impl AsRef<[u8]>