diff options
| -rw-r--r-- | talpid-core/src/net.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/talpid-core/src/net.rs b/talpid-core/src/net.rs index 116e3f2441..ba8a3fe665 100644 --- a/talpid-core/src/net.rs +++ b/talpid-core/src/net.rs @@ -1,7 +1,7 @@ use std::net::{IpAddr, SocketAddr}; /// Represents a network layer IP address together with the transport layer protocol and port. -#[derive(Debug, Clone, PartialEq, Eq, Hash)] +#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)] pub struct Endpoint { /// The address part of this endpoint, contains the IP and port. pub address: SocketAddr, |
