pub enum HashAlgo {
None = 0,
Md5 = 1,
Sha1 = 2,
Sha224 = 3,
Sha256 = 4,
Sha384 = 5,
Sha512 = 6,
Intrinsic = 8,
}Expand description
Hash algorithms, as defined in RFC5246 and RFC8422
Variants§
None = 0
No algorithm
Md5 = 1
MD5 algorithm
Sha1 = 2
SHA1 algorithm
Sha224 = 3
SHA224 algorithm
Sha256 = 4
SHA256 algorithm
Sha384 = 5
SHA384 algorithm
Sha512 = 6
SHA512 algorithm
Intrinsic = 8
Intrinsic algorithm
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HashAlgo
impl RefUnwindSafe for HashAlgo
impl Send for HashAlgo
impl Sync for HashAlgo
impl Unpin for HashAlgo
impl UnwindSafe for HashAlgo
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