Make KeyType non_exhaustive.

This commit is contained in:
Heiko Schaefer 2021-08-27 14:49:28 +02:00
parent 64f05e93f5
commit 454d50eb45

View file

@ -108,6 +108,7 @@ impl CardCaps {
/// Enum to identify the Key-slots on an OpenPGP card
#[derive(Debug, Clone, Copy, Eq, PartialEq)]
#[non_exhaustive]
pub enum KeyType {
Signing,
Decryption,