From 454d50eb451c86607f823a6e58f30a311252a3a4 Mon Sep 17 00:00:00 2001 From: Heiko Schaefer Date: Fri, 27 Aug 2021 14:49:28 +0200 Subject: [PATCH] Make KeyType non_exhaustive. --- openpgp-card/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/openpgp-card/src/lib.rs b/openpgp-card/src/lib.rs index fe28e1a..0b995a6 100644 --- a/openpgp-card/src/lib.rs +++ b/openpgp-card/src/lib.rs @@ -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,