summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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,