pub enum OpenpgpSlot {
Signature,
Decryption,
Authentication,
}Expand description
OpenPGP card key slot.
Variants§
Signature
Signature slot (SIG).
Decryption
Decryption slot (DEC).
Authentication
Authentication slot (AUT).
Trait Implementations§
Source§impl Clone for OpenpgpSlot
impl Clone for OpenpgpSlot
Source§fn clone(&self) -> OpenpgpSlot
fn clone(&self) -> OpenpgpSlot
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 OpenpgpSlot
Source§impl Debug for OpenpgpSlot
impl Debug for OpenpgpSlot
Source§impl<'de> Deserialize<'de> for OpenpgpSlot
impl<'de> Deserialize<'de> for OpenpgpSlot
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 OpenpgpSlot
impl RefUnwindSafe for OpenpgpSlot
impl Send for OpenpgpSlot
impl Sync for OpenpgpSlot
impl Unpin for OpenpgpSlot
impl UnsafeUnpin for OpenpgpSlot
impl UnwindSafe for OpenpgpSlot
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