Enum www_authenticate::Algorithm
[−]
[src]
pub enum Algorithm {
Md5,
Md5Sess,
Sha512Trunc256,
Sha512Trunc256Sess,
Sha256,
Sha256Sess,
Other(String),
}Algorithms used to produce the digest and unkeyed digest.
Variants
Md5MD5
Md5SessMD5-sess
Sha512Trunc256SHA-512-256
Sha512Trunc256SessSHA-512-256-sess
Sha256SHA-256
Sha256SessSHA-256-sess
Other(String)other algorithm
Trait Implementations
impl Debug for Algorithm[src]
impl Clone for Algorithm[src]
fn clone(&self) -> Algorithm
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl PartialEq for Algorithm[src]
fn eq(&self, __arg_0: &Algorithm) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Algorithm) -> bool
This method tests for !=.
impl Eq for Algorithm[src]
impl Hash for Algorithm[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0
H: Hasher,
Feeds a slice of this type into the given [Hasher]. Read more