From 7fe88e965a305cd616765da4315b133c5ce85a9d Mon Sep 17 00:00:00 2001 From: afontenot Date: Wed, 30 Oct 2024 23:31:46 -0400 Subject: [PATCH] Derive common traits on KeyRingIdentifier (#15) --- src/ffi/types.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ffi/types.rs b/src/ffi/types.rs index 04c992b..a4115e5 100644 --- a/src/ffi/types.rs +++ b/src/ffi/types.rs @@ -30,6 +30,7 @@ pub enum KeyType { /// Special identifiers for default keyrings. See `man 7 keyrings`. #[allow(dead_code)] +#[derive(Debug, Copy, Clone, PartialEq, Eq)] pub enum KeyRingIdentifier { /// Key ID for thread-specific keyring Thread = -1,