Derive Hash for KeyType

This commit is contained in:
Heiko Schaefer 2022-06-19 14:34:08 +02:00
parent 17fc6ebeff
commit 141fe3d136
No known key found for this signature in database
GPG key ID: 4A849A1904CCBD7D

View file

@ -528,7 +528,7 @@ impl PinType {
} }
/// Identify a Key slot on an OpenPGP card /// Identify a Key slot on an OpenPGP card
#[derive(Debug, Clone, Copy, Eq, PartialEq)] #[derive(Debug, Clone, Copy, Eq, PartialEq, Hash)]
#[non_exhaustive] #[non_exhaustive]
pub enum KeyType { pub enum KeyType {
Signing, Signing,