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 dae8cea commit 982be53Copy full SHA for 982be53
portmapper/src/metrics.rs
@@ -1,7 +1,8 @@
1
use iroh_metrics::{Counter, MetricsGroup};
2
+use serde::{Serialize, Deserialize};
3
4
/// Enum of metrics for the module
-#[derive(Debug, Default, MetricsGroup)]
5
+#[derive(Debug, Default, MetricsGroup, Serialize, Deserialize)]
6
#[metrics(name = "portmap")]
7
pub struct Metrics {
8
/*
0 commit comments