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 Debug for Algorithmfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Clone for Algorithm[src]
impl Clone for Algorithmfn clone(&self) -> Algorithm[src]
fn clone(&self) -> AlgorithmReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl PartialEq for Algorithm[src]
impl PartialEq for Algorithmfn eq(&self, other: &Algorithm) -> bool[src]
fn eq(&self, other: &Algorithm) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Algorithm) -> bool[src]
fn ne(&self, other: &Algorithm) -> boolThis method tests for !=.
impl Eq for Algorithm[src]
impl Eq for Algorithmimpl Hash for Algorithm[src]
impl Hash for Algorithmfn hash<__H: Hasher>(&self, state: &mut __H)[src]
fn hash<__H: Hasher>(&self, state: &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[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0
[src]Feeds a slice of this type into the given [Hasher]. Read more
impl Display for Algorithm[src]
impl Display for Algorithm