Enum openpgp_card::algorithm::Algo
source · [−]Expand description
4.4.3.9 Algorithm Attributes
An Algo
describes the algorithm settings for a key on the card.
This setting specifies the data format of:
- Key import
- Key generation
- Export of public key data from the card (e.g. after key generation)
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.
Rsa(RsaAttrs)
Ecc(EccAttrs)
Unknown(Vec<u8>)
Trait Implementations
impl Eq for Algo
impl StructuralEq for Algo
impl StructuralPartialEq for Algo
Auto Trait Implementations
impl RefUnwindSafe for Algo
impl Send for Algo
impl Sync for Algo
impl Unpin for Algo
impl UnwindSafe for Algo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more