pub enum Hasher {
Blake2b256,
Blake2b384,
Blake2b512,
}
Expand description
Convenience functions for common BLAKE2b operations.
Variants§
Blake2b256
Blake2b with 32
as size
.
Blake2b384
Blake2b with 48
as size
.
Blake2b512
Blake2b with 64
as size
.
Implementations§
Trait Implementations§
source§impl PartialEq<Hasher> for Hasher
impl PartialEq<Hasher> for Hasher
impl StructuralPartialEq for Hasher
Auto Trait Implementations§
impl RefUnwindSafe for Hasher
impl Send for Hasher
impl Sync for Hasher
impl Unpin for Hasher
impl UnwindSafe for Hasher
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