pub enum HashingOperation {
Hash,
Verify,
}Expand description
Hashing operation identifiers used for structured error reporting.
Variants§
Hash
Compute a new hash for a provided plaintext value.
Verify
Verify a plaintext value against an existing hash.
Trait Implementations§
Source§impl Clone for HashingOperation
impl Clone for HashingOperation
Source§fn clone(&self) -> HashingOperation
fn clone(&self) -> HashingOperation
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 moreSource§impl Debug for HashingOperation
impl Debug for HashingOperation
Auto Trait Implementations§
impl Freeze for HashingOperation
impl RefUnwindSafe for HashingOperation
impl Send for HashingOperation
impl Sync for HashingOperation
impl Unpin for HashingOperation
impl UnsafeUnpin for HashingOperation
impl UnwindSafe for HashingOperation
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