Make KeyType non_exhaustive.
This commit is contained in:
parent
64f05e93f5
commit
454d50eb45
1 changed files with 1 additions and 0 deletions
|
@ -108,6 +108,7 @@ impl CardCaps {
|
||||||
|
|
||||||
/// Enum to identify the Key-slots on an OpenPGP card
|
/// Enum to identify the Key-slots on an OpenPGP card
|
||||||
#[derive(Debug, Clone, Copy, Eq, PartialEq)]
|
#[derive(Debug, Clone, Copy, Eq, PartialEq)]
|
||||||
|
#[non_exhaustive]
|
||||||
pub enum KeyType {
|
pub enum KeyType {
|
||||||
Signing,
|
Signing,
|
||||||
Decryption,
|
Decryption,
|
||||||
|
|
Loading…
Reference in a new issue