pub struct HashContext(/* private fields */);Expand description
A context to be used for multi-step hash calculations. Useful when hashing a data structure with multiple fields or when hashing larger inputs.
Implementations§
Trait Implementations§
Source§impl Clone for HashContext
impl Clone for HashContext
Source§fn clone(&self) -> HashContext
fn clone(&self) -> HashContext
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 moreAuto Trait Implementations§
impl Freeze for HashContext
impl RefUnwindSafe for HashContext
impl Send for HashContext
impl Sync for HashContext
impl Unpin for HashContext
impl UnwindSafe for HashContext
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