diff options
Diffstat (limited to 'src/node_id.rs')
-rw-r--r-- | src/node_id.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/node_id.rs b/src/node_id.rs index 0ee7b97..6211e19 100644 --- a/src/node_id.rs +++ b/src/node_id.rs @@ -5,5 +5,7 @@ // /// A unique identifier for a `Node` -pub trait NodeId: Clone + Eq + PartialEq + std::hash::Hash { +/// +/// The `NodeId` should be cheap to clone (for example a UUID or some form of a hash value). +pub trait NodeId: Clone + Eq + PartialEq { } |