#[non_exhaustive]pub enum SecretSensitivity {
Public,
Sensitive,
Secret,
}Expand description
Sensitivity classification for operation material.
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.
Public
Public material that does not require secret-memory handling.
Sensitive
Privacy-sensitive material, including plaintext and ciphertext.
Secret
Cryptographic secret material requiring deterministic zeroization.
Trait Implementations§
Source§impl Clone for SecretSensitivity
impl Clone for SecretSensitivity
Source§fn clone(&self) -> SecretSensitivity
fn clone(&self) -> SecretSensitivity
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 SecretSensitivity
Source§impl Debug for SecretSensitivity
impl Debug for SecretSensitivity
impl Eq for SecretSensitivity
Source§impl PartialEq for SecretSensitivity
impl PartialEq for SecretSensitivity
impl StructuralPartialEq for SecretSensitivity
Auto Trait Implementations§
impl Freeze for SecretSensitivity
impl RefUnwindSafe for SecretSensitivity
impl Send for SecretSensitivity
impl Sync for SecretSensitivity
impl Unpin for SecretSensitivity
impl UnsafeUnpin for SecretSensitivity
impl UnwindSafe for SecretSensitivity
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