pub struct Sha256Hasher;
Expand description
An implementation of Hasher
that uses the sha-256
hash function.
Implementations§
Source§impl Sha256Hasher
impl Sha256Hasher
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 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§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
Source§impl Hasher for Sha256Hasher
impl Hasher for Sha256Hasher
impl Copy for Sha256Hasher
Auto Trait Implementations§
impl Freeze for Sha256Hasher
impl RefUnwindSafe for Sha256Hasher
impl Send for Sha256Hasher
impl Sync for Sha256Hasher
impl Unpin 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more