diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2021-12-19 22:36:13 +0100 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2021-12-19 22:36:55 +0100 |
commit | 77b3592fba4fd9aed61efbcbfc72dceb31cfd2be (patch) | |
tree | 94116452e56fa2b783e500600c8bf3d100b3010f | |
parent | 8aae93d4f47ff6a14120fab34a39b88c8fdb74a5 (diff) |
Impl hash() for GossipRecipe
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
-rw-r--r-- | gui/src/gossip.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gui/src/gossip.rs b/gui/src/gossip.rs index 4fef601..ac6bab0 100644 --- a/gui/src/gossip.rs +++ b/gui/src/gossip.rs @@ -29,7 +29,8 @@ where fn hash(&self, state: &mut H) { use std::hash::Hash; - unimplemented!() + struct Marker; + std::any::TypeId::of::<Marker>().hash(state); } fn stream(self: Box<Self>, _input: futures::stream::BoxStream<'static, I>) -> futures::stream::BoxStream<'static, Self::Output> { |