#[non_exhaustive]pub enum OutputMaterial {
Public,
SensitivePublic,
Secret,
Mixed,
}Expand description
Security-relevant class of an operation result.
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
Digest, signature, public key, boolean, or other public result.
SensitivePublic
Ciphertext or wrapped material that remains privacy-sensitive.
Secret
A private key, plaintext, shared secret, derived key, or seed.
Mixed
A structured result containing both public and secret fields.
Trait Implementations§
Source§impl Clone for OutputMaterial
impl Clone for OutputMaterial
Source§fn clone(&self) -> OutputMaterial
fn clone(&self) -> OutputMaterial
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 OutputMaterial
Source§impl Debug for OutputMaterial
impl Debug for OutputMaterial
impl Eq for OutputMaterial
Source§impl PartialEq for OutputMaterial
impl PartialEq for OutputMaterial
impl StructuralPartialEq for OutputMaterial
Auto Trait Implementations§
impl Freeze for OutputMaterial
impl RefUnwindSafe for OutputMaterial
impl Send for OutputMaterial
impl Sync for OutputMaterial
impl Unpin for OutputMaterial
impl UnsafeUnpin for OutputMaterial
impl UnwindSafe for OutputMaterial
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