Enum http_auth::digest::Algorithm [−][src]
#[non_exhaustive]
pub enum Algorithm {
Md5,
Sha256,
Sha512Trunc256,
}
This is supported 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.
Md5
Sha256
Sha512Trunc256
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Algorithm
impl UnwindSafe for Algorithm
Blanket Implementations
Mutably borrows from an owned value. Read more