#[non_exhaustive]pub enum SecretOperation {
NotStarted,
Encode,
Decode,
}Expand description
Secret operation recorded for one protected allocation.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
NotStarted
No encode or decode has started.
Encode
Constant-time-oriented scalar encode.
Decode
Constant-time-oriented scalar decode.
Implementations§
Trait Implementations§
Source§impl Clone for SecretOperation
impl Clone for SecretOperation
Source§fn clone(&self) -> SecretOperation
fn clone(&self) -> SecretOperation
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 moreimpl Copy for SecretOperation
Source§impl Debug for SecretOperation
impl Debug for SecretOperation
impl Eq for SecretOperation
Source§impl Hash for SecretOperation
impl Hash for SecretOperation
Source§impl PartialEq for SecretOperation
impl PartialEq for SecretOperation
impl StructuralPartialEq for SecretOperation
Auto Trait Implementations§
impl Freeze for SecretOperation
impl RefUnwindSafe for SecretOperation
impl Send for SecretOperation
impl Sync for SecretOperation
impl Unpin for SecretOperation
impl UnsafeUnpin for SecretOperation
impl UnwindSafe for SecretOperation
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