pub struct Blake2bHasher<const S: usize> { /* private fields */ }
Expand description
Multihash hasher.
Trait Implementations§
Source§impl<const S: usize> Debug for Blake2bHasher<S>
impl<const S: usize> Debug for Blake2bHasher<S>
Source§impl<const S: usize> Default for Blake2bHasher<S>
impl<const S: usize> Default for Blake2bHasher<S>
Source§impl<const S: usize> StatefulHasher<S> for Blake2bHasher<S>
impl<const S: usize> StatefulHasher<S> for Blake2bHasher<S>
Source§type Digest = Blake2bDigest<S>
type Digest = Blake2bDigest<S>
The maximum Digest size for that hasher (it is stack allocated).
The Digest type to distinguish the output of different
Hasher
implementations.Auto Trait Implementations§
impl<const S: usize> Freeze for Blake2bHasher<S>
impl<const S: usize> RefUnwindSafe for Blake2bHasher<S>
impl<const S: usize> Send for Blake2bHasher<S>
impl<const S: usize> Sync for Blake2bHasher<S>
impl<const S: usize> Unpin for Blake2bHasher<S>
impl<const S: usize> UnwindSafe for Blake2bHasher<S>
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, const S: usize> Hasher<S> for Twhere
T: StatefulHasher<S>,
impl<T, const S: usize> Hasher<S> for Twhere
T: StatefulHasher<S>,
Source§type Digest = <T as StatefulHasher<S>>::Digest
type Digest = <T as StatefulHasher<S>>::Digest
The maximum Digest size for that hasher (it is stack allocated).
The Digest type to distinguish the output of different
Hasher
implementations.