summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJanito Vaqueiro Ferreira Filho <janito@mullvad.net>2019-06-27 00:56:51 +0000
committerJanito Vaqueiro Ferreira Filho <janito@mullvad.net>2019-06-28 19:18:44 +0000
commitd67e2cf5009491fe16a38b37d22101beec7bd892 (patch)
tree81b740a95e9146f985268cb110b7b648b640c921
parent8f6c45227f4d9af8bf2dd9a39a7adb86d4fa8be6 (diff)
downloadmullvadvpn-d67e2cf5009491fe16a38b37d22101beec7bd892.tar.xz
mullvadvpn-d67e2cf5009491fe16a38b37d22101beec7bd892.zip
Create temporary `TunnelState` type alias
-rw-r--r--mullvad-types/src/states.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/mullvad-types/src/states.rs b/mullvad-types/src/states.rs
index a5bb8a8b59..e7f7467660 100644
--- a/mullvad-types/src/states.rs
+++ b/mullvad-types/src/states.rs
@@ -1,4 +1,5 @@
use serde::{Deserialize, Serialize};
+use talpid_types::tunnel::TunnelStateTransition;
/// Represents the state the client strives towards.
/// When in `Secured`, the client should keep the computer from leaking and try to
@@ -9,3 +10,6 @@ pub enum TargetState {
Unsecured,
Secured,
}
+
+/// Temporary alias used to migrate the usages.
+pub type TunnelState = TunnelStateTransition;