pub struct Sha2_256 { /* private fields */ }Expand description
Multihash hasher.
Trait Implementations§
Source§impl StatefulHasher<32> for Sha2_256
impl StatefulHasher<32> for Sha2_256
Source§type Digest = Sha2Digest<32>
type Digest = Sha2Digest<32>
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 Freeze for Sha2_256
impl RefUnwindSafe for Sha2_256
impl Send for Sha2_256
impl Sync for Sha2_256
impl Unpin for Sha2_256
impl UnwindSafe for Sha2_256
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.