Struct parsec_interface::operations::psa_hash_compare::Operation
source · pub struct Operation {
pub alg: Hash,
pub input: Zeroizing<Vec<u8>>,
pub hash: Zeroizing<Vec<u8>>,
}
Expand description
Native object for hash compare operations.
Fields§
§alg: Hash
The hash algorithm to compute.
input: Zeroizing<Vec<u8>>
The input to hash.
hash: Zeroizing<Vec<u8>>
The reference hash value.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Operation
impl Send for Operation
impl Sync for Operation
impl Unpin for Operation
impl UnwindSafe for Operation
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