pub struct Operation {
pub alg: Hash,
pub input: Zeroizing<Vec<u8>>,
}
Expand description
Native object for hash compute operations.
Fields§
§alg: Hash
The hash algorithm to compute.
input: Zeroizing<Vec<u8>>
The input to hash.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Operation
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