pub enum OpenpgpSlot {
Signature,
Decryption,
Authentication,
}Expand description
OpenPGP card slot (per OpenPGP card spec v3.x).
Variants§
Signature
Signature (SIG) slot — key for signing documents.
Decryption
Decryption (DEC) slot — key for decrypting messages.
Authentication
Authentication (AUT) slot — key for non-repudiation / SSH auth.
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
impl Eq for OpenpgpSlot
Source§impl Hash for OpenpgpSlot
impl Hash for OpenpgpSlot
Source§impl PartialEq for OpenpgpSlot
impl PartialEq for OpenpgpSlot
Source§fn eq(&self, other: &OpenpgpSlot) -> bool
fn eq(&self, other: &OpenpgpSlot) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for OpenpgpSlot
impl Serialize for OpenpgpSlot
impl StructuralPartialEq for OpenpgpSlot
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