aboutsummaryrefslogtreecommitdiff
path: root/src/netapp.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-09-13 12:12:55 +0200
committerAlex Auvolat <alex@adnab.me>2022-09-13 12:12:55 +0200
commit8ab6256c3b5a2cde7144b3a5e1ef488b7bce6227 (patch)
tree224ddbd9268df33713aca686f3afc63ffac87ff7 /src/netapp.rs
parent9362d268904de694328f20e9e3a31b569955787c (diff)
downloadnetapp-8ab6256c3b5a2cde7144b3a5e1ef488b7bce6227.tar.gz
netapp-8ab6256c3b5a2cde7144b3a5e1ef488b7bce6227.zip
No longer need to derive Clone on message types
Diffstat (limited to 'src/netapp.rs')
-rw-r--r--src/netapp.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/netapp.rs b/src/netapp.rs
index f1e14ed..b1ad9db 100644
--- a/src/netapp.rs
+++ b/src/netapp.rs
@@ -38,7 +38,7 @@ pub(crate) type VersionTag = [u8; 16];
/// Value of the Netapp version used in the version tag
pub(crate) const NETAPP_VERSION_TAG: u64 = 0x6e65746170700005; // netapp 0x0005
-#[derive(Serialize, Deserialize, Debug, Clone)]
+#[derive(Serialize, Deserialize, Debug)]
pub(crate) struct HelloMessage {
pub server_addr: Option<IpAddr>,
pub server_port: u16,