#[repr(u8)]pub enum HashFunction {
Show 14 variants
Sha256 = 0,
Sha512 = 1,
RipeMd = 2,
Blake2s = 3,
Blake2b = 4,
Blake3 = 5,
Sha3 = 6,
Hmac256KeyHash = 64,
Hmac256Pass1 = 80,
Hmac256Pass2 = 96,
Hmac512KeyHash = 65,
Hmac512Pass1 = 81,
Hmac512Pass2 = 97,
Init = 255,
}Variants§
Sha256 = 0
Sha512 = 1
RipeMd = 2
Blake2s = 3
Blake2b = 4
Blake3 = 5
Sha3 = 6
Hmac256KeyHash = 64
Hmac256Pass1 = 80
Hmac256Pass2 = 96
Hmac512KeyHash = 65
Hmac512Pass1 = 81
Hmac512Pass2 = 97
Init = 255
Auto Trait Implementations§
impl Freeze for HashFunction
impl RefUnwindSafe for HashFunction
impl Send for HashFunction
impl Sync for HashFunction
impl Unpin for HashFunction
impl UnwindSafe for HashFunction
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