summaryrefslogtreecommitdiffhomepage
path: root/talpid_core
diff options
context:
space:
mode:
authorLinus Färnstrand <linus@mullvad.net>2017-06-30 14:08:39 +0200
committerLinus Färnstrand <linus@mullvad.net>2017-07-03 14:24:48 +0200
commita97f6e39203c442e17859be031d144c17d426bb5 (patch)
treeca469b881dc37e7d5de9aeca884b3634155dc309 /talpid_core
parente0ba08fb3ac8198b7184bd73fb82d35fae704e09 (diff)
downloadmullvadvpn-a97f6e39203c442e17859be031d144c17d426bb5.tar.xz
mullvadvpn-a97f6e39203c442e17859be031d144c17d426bb5.zip
Set states more consistently
Diffstat (limited to 'talpid_core')
-rw-r--r--talpid_core/src/tunnel/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/talpid_core/src/tunnel/mod.rs b/talpid_core/src/tunnel/mod.rs
index 7f4fa7ff5f..a3cf019da7 100644
--- a/talpid_core/src/tunnel/mod.rs
+++ b/talpid_core/src/tunnel/mod.rs
@@ -33,7 +33,7 @@ pub use self::errors::*;
/// Possible events from the VPN tunnel and the child process managing it.
-#[derive(Debug)]
+#[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
pub enum TunnelEvent {
/// Sent when the tunnel comes up and is ready for traffic.
Up,