pub enum SecretKind {
Passphrase,
Key,
}Expand description
12.3: what kind of secret a caller handed the engine. A passphrase is a person’s; a key is a uniformly random 256-bit value a machine made.
Variants§
Trait Implementations§
Source§impl Clone for SecretKind
impl Clone for SecretKind
impl Copy for SecretKind
Source§impl Debug for SecretKind
impl Debug for SecretKind
impl Eq for SecretKind
Source§impl PartialEq for SecretKind
impl PartialEq for SecretKind
impl StructuralPartialEq for SecretKind
Auto Trait Implementations§
impl Forget for SecretKind
impl Freeze for SecretKind
impl Move for SecretKind
impl RefUnwindSafe for SecretKind
impl Send for SecretKind
impl Sync for SecretKind
impl Unpin for SecretKind
impl UnsafeUnpin for SecretKind
impl UnwindSafe for SecretKind
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