pub struct Sha256Hasher;Expand description
SHA-256 for the v2 wrapper checksum, over this crate’s existing sha2.
The transport crate injects its digest rather than depending on one, so supplying it here keeps that crate’s contribution to this dependency tree at zero: everything it needs is already present for the soft-binding family.
Trait Implementations§
Source§impl Clone for Sha256Hasher
impl Clone for Sha256Hasher
Source§fn clone(&self) -> Sha256Hasher
fn clone(&self) -> Sha256Hasher
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Sha256Hasher
Source§impl Debug for Sha256Hasher
impl Debug for Sha256Hasher
Source§impl Default for Sha256Hasher
impl Default for Sha256Hasher
Source§fn default() -> Sha256Hasher
fn default() -> Sha256Hasher
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for Sha256Hasher
impl RefUnwindSafe for Sha256Hasher
impl Send for Sha256Hasher
impl Sync for Sha256Hasher
impl Unpin for Sha256Hasher
impl UnsafeUnpin for Sha256Hasher
impl UnwindSafe for Sha256Hasher
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