summaryrefslogtreecommitdiffstats
path: root/src/node_id.rs
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2022-12-28 16:57:35 +0100
committerMatthias Beyer <mail@beyermatthias.de>2022-12-28 17:13:45 +0100
commit7863c3bcf8c7ca37bfc5652ec92e620968e635e4 (patch)
tree232bcc294e1d442d31a49c060b3b9e14c3f8ed4f /src/node_id.rs
parent5cc96a7a9f8a48a13dca4dd6a48dacff27773f3b (diff)
Transform codebase to use thiserror
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat (limited to 'src/node_id.rs')
-rw-r--r--src/node_id.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node_id.rs b/src/node_id.rs
index df1e4d4..5d0663a 100644
--- a/src/node_id.rs
+++ b/src/node_id.rs
@@ -7,4 +7,4 @@
/// A unique identifier for a `Node`
///
/// The `NodeId` should be cheap to clone (for example a UUID or some form of a hash value).
-pub trait NodeId: Clone + Eq + PartialEq {}
+pub trait NodeId: Clone + Eq + PartialEq + std::fmt::Debug {}