summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorEmīls <emils@mullvad.net>2022-06-15 18:51:46 +0100
committerEmīls <emils@mullvad.net>2022-06-16 09:34:25 +0100
commit8f8e45aa720b95266a5c5146e6b35430c360bfc2 (patch)
tree6b476750f48f9a0ab56408b40edf2938b004f3ec
parentcae28313e16996a5a3b79672384cdb14627f2a0b (diff)
downloadmullvadvpn-8f8e45aa720b95266a5c5146e6b35430c360bfc2.tar.xz
mullvadvpn-8f8e45aa720b95266a5c5146e6b35430c360bfc2.zip
Remove serde derivations from TunnelStateTransition
-rw-r--r--talpid-types/src/tunnel.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/talpid-types/src/tunnel.rs b/talpid-types/src/tunnel.rs
index 6f54c15a26..af84e35390 100644
--- a/talpid-types/src/tunnel.rs
+++ b/talpid-types/src/tunnel.rs
@@ -8,9 +8,7 @@ use std::net::IpAddr;
/// Event emitted from the states in `talpid_core::tunnel_state_machine` when the tunnel state
/// machine enters a new state.
-#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
-#[serde(rename_all = "snake_case")]
-#[serde(tag = "state", content = "details")]
+#[derive(Clone, Debug, PartialEq)]
pub enum TunnelStateTransition {
/// No connection is established and network is unsecured.
Disconnected,