#[non_exhaustive]
pub enum Algorithm {
Md5,
Sha256,
Sha512Trunc256,
}
Available on crate feature
digest-scheme
only.Expand description
Supported algorithm from the HTTP Digest Algorithm Values registry.
This doesn’t store whether the session variant (<Algorithm>-sess
) was
requested; see DigestClient::session
for that.
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.