pub enum Algorithm {
Md5,
Md5Sess,
Sha512Trunc256,
Sha512Trunc256Sess,
Sha256,
Sha256Sess,
Other(String),
}
Expand description
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 Eq for Algorithm
impl StructuralPartialEq for Algorithm
Auto Trait Implementations§
impl Freeze for Algorithm
impl RefUnwindSafe for Algorithm
impl Send for Algorithm
impl Sync for Algorithm
impl Unpin for Algorithm
impl UnwindSafe for Algorithm
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more