diff options
| author | Andrej Mihajlov <and.mikhaylov@gmail.com> | 2024-03-08 08:48:33 +0100 |
|---|---|---|
| committer | David Lönnhager <dv.lnh.d@gmail.com> | 2024-03-11 13:01:58 +0100 |
| commit | 1814c2ac923e46684bdb1abf95641d62b87ff24b (patch) | |
| tree | b2189a9ee744156cfcacfe95d72b768ece293c83 | |
| parent | 1fa40d1ea735c3639552c71e3e980cc99707cf27 (diff) | |
| download | mullvadvpn-1814c2ac923e46684bdb1abf95641d62b87ff24b.tar.xz mullvadvpn-1814c2ac923e46684bdb1abf95641d62b87ff24b.zip | |
Remove unused error variants in routing::unix::Error
| -rw-r--r-- | talpid-routing/src/unix/mod.rs | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/talpid-routing/src/unix/mod.rs b/talpid-routing/src/unix/mod.rs index 45b7b92b60..2e0e488087 100644 --- a/talpid-routing/src/unix/mod.rs +++ b/talpid-routing/src/unix/mod.rs @@ -7,7 +7,7 @@ use futures::channel::{ mpsc::{self, UnboundedSender}, oneshot, }; -use std::{collections::HashSet, io, sync::Arc}; +use std::{collections::HashSet, sync::Arc}; #[cfg(any(target_os = "linux", target_os = "macos"))] use futures::stream::Stream; @@ -41,12 +41,6 @@ pub enum Error { /// Platform specific error occurred #[error("Internal route manager error")] PlatformError(#[from] imp::Error), - /// Failed to spawn route manager future - #[error("Failed to spawn route manager on the provided executor")] - FailedToSpawnManager, - /// Failed to spawn route manager runtime - #[error("Failed to spawn route manager runtime")] - FailedToSpawnRuntime(#[from] io::Error), /// Attempt to use route manager that has been dropped #[error("Cannot send message to route manager since it is down")] RouteManagerDown, |
