From 65f6e65f5d7f1dbb01dd30d62c6eaf1b4bcfc802 Mon Sep 17 00:00:00 2001 From: Vojtech Kral Date: Thu, 18 Apr 2024 01:04:41 +0200 Subject: [PATCH] metrics-util: derive Clone for Snapshotter (#472) --- metrics-util/src/debugging.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/metrics-util/src/debugging.rs b/metrics-util/src/debugging.rs index 9b8c1193..d17a222f 100644 --- a/metrics-util/src/debugging.rs +++ b/metrics-util/src/debugging.rs @@ -84,6 +84,7 @@ impl Inner { } /// Captures point-in-time snapshots of [`DebuggingRecorder`]. +#[derive(Clone)] pub struct Snapshotter { inner: Arc, }