pub enum DigestState {
Sha256(Sha256),
Sha512(Sha512),
Sha3_256(Sha3_256),
Sha3_512(Sha3_512),
Blake3(Hasher),
}Expand description
Internal hashing state.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for DigestState
impl Clone for DigestState
Source§fn clone(&self) -> DigestState
fn clone(&self) -> DigestState
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 DigestState
impl RefUnwindSafe for DigestState
impl Send for DigestState
impl Sync for DigestState
impl Unpin for DigestState
impl UnsafeUnpin for DigestState
impl UnwindSafe for DigestState
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