From 5017b333262f7b3e22445831aab11f23ef08e9e5 Mon Sep 17 00:00:00 2001 From: Alexis Sellier Date: Mon, 31 Aug 2020 19:21:29 +0200 Subject: [PATCH] Add `Clone` instance to `RawNetworkMessage` --- src/network/message.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/network/message.rs b/src/network/message.rs index 19a8e4ea..d71c723b 100644 --- a/src/network/message.rs +++ b/src/network/message.rs @@ -90,7 +90,7 @@ impl Decodable for CommandString { } } -#[derive(Debug, PartialEq, Eq)] +#[derive(Clone, Debug, PartialEq, Eq)] /// A Network message pub struct RawNetworkMessage { /// Magic bytes to identify the network these messages are meant for