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