pub struct Sha2_256 { /* private fields */ }
Expand description
Multihash hasher.
Trait Implementations§
Source§impl StatefulHasher for Sha2_256
impl StatefulHasher for Sha2_256
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> Hasher for Twhere
T: StatefulHasher,
impl<T> Hasher for Twhere
T: StatefulHasher,
Source§type Size = <T as StatefulHasher>::Size
type Size = <T as StatefulHasher>::Size
The maximum Digest size for that hasher (it is stack allocated).
Source§type Digest = <T as StatefulHasher>::Digest
type Digest = <T as StatefulHasher>::Digest
The Digest type to distinguish the output of different
Hasher
implementations.