pub enum HashVariant {
Show 18 variants
HashBHP256,
HashBHP512,
HashBHP768,
HashBHP1024,
HashKeccak256,
HashKeccak384,
HashKeccak512,
HashPED64,
HashPED128,
HashPSD2,
HashPSD4,
HashPSD8,
HashSha3_256,
HashSha3_384,
HashSha3_512,
HashManyPSD2,
HashManyPSD4,
HashManyPSD8,
}Expand description
Which hash function to use.
Variants§
HashBHP256
HashBHP512
HashBHP768
HashBHP1024
HashKeccak256
HashKeccak384
HashKeccak512
HashPED64
HashPED128
HashPSD2
HashPSD4
HashPSD8
HashSha3_256
HashSha3_384
HashSha3_512
HashManyPSD2
HashManyPSD4
HashManyPSD8
Auto Trait Implementations§
impl Freeze for HashVariant
impl RefUnwindSafe for HashVariant
impl Send for HashVariant
impl Sync for HashVariant
impl Unpin for HashVariant
impl UnwindSafe for HashVariant
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more