pub enum EncryptionKeyHandle {
Software {
key_id: String,
algorithm: String,
},
Hardware {
key_id: String,
algorithm: String,
token: HardwareToken,
},
}Expand description
A reference to an encryption key — either software-held or hardware-backed.
Variants§
Trait Implementations§
Source§impl Clone for EncryptionKeyHandle
impl Clone for EncryptionKeyHandle
Source§fn clone(&self) -> EncryptionKeyHandle
fn clone(&self) -> EncryptionKeyHandle
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 moreSource§impl Debug for EncryptionKeyHandle
impl Debug for EncryptionKeyHandle
Source§impl<'de> Deserialize<'de> for EncryptionKeyHandle
impl<'de> Deserialize<'de> for EncryptionKeyHandle
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for EncryptionKeyHandle
impl RefUnwindSafe for EncryptionKeyHandle
impl Send for EncryptionKeyHandle
impl Sync for EncryptionKeyHandle
impl Unpin for EncryptionKeyHandle
impl UnsafeUnpin for EncryptionKeyHandle
impl UnwindSafe for EncryptionKeyHandle
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