We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e567cc4 commit 2936558Copy full SHA for 2936558
timeboost-types/src/decryption.rs
@@ -131,7 +131,7 @@ impl ThresholdKey {
131
132
/// `DecryptionKeyCell` is a thread-safe container for an optional `DecryptionKey`
133
/// that allows asynchronous notification when the key is set.
134
-#[derive(Debug, Default)]
+#[derive(Clone, Debug, Default)]
135
pub struct ThresholdKeyCell {
136
inner: Arc<ThresholdKeyCellInner>,
137
}
@@ -175,14 +175,6 @@ impl ThresholdKeyCell {
175
176
177
178
-impl Clone for ThresholdKeyCell {
179
- fn clone(&self) -> Self {
180
- Self {
181
- inner: self.inner.clone(),
182
- }
183
184
-}
185
-
186
/// A small, non-empty collection of KeyStores.
187
#[derive(Debug, Default, Clone)]
188
#[allow(clippy::len_without_is_empty)]
0 commit comments