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
Md5
MD5
Md5Sess
MD5-sess
Sha512Trunc256
SHA-512-256
Sha512Trunc256Sess
SHA-512-256-sess
Sha256
SHA-256
Sha256Sess
SHA-256-sess
Other(String)
other algorithm
Trait Implementations
impl Debug for Algorithm
[src]
impl Debug for Algorithm
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for Algorithm
[src]
impl Clone for Algorithm
fn clone(&self) -> Algorithm
[src]
fn clone(&self) -> Algorithm
Returns 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 Algorithm
fn eq(&self, other: &Algorithm) -> bool
[src]
fn eq(&self, other: &Algorithm) -> bool
This 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) -> bool
This method tests for !=
.
impl Eq for Algorithm
[src]
impl Eq for Algorithm
impl Hash for Algorithm
[src]
impl Hash for Algorithm
fn 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