diff options
| author | David Lönnhager <david.l@mullvad.net> | 2020-09-21 16:16:03 +0200 |
|---|---|---|
| committer | David Lönnhager <david.l@mullvad.net> | 2020-09-22 13:12:18 +0200 |
| commit | cdae002978c2f6e225060e022fc20c5968bee8c2 (patch) | |
| tree | 6190d7f38c712cd90e39d8978b6e0c1bfc46c329 | |
| parent | e7a77c44d4c9efdbd1bf84d50aa48172b1b000fc (diff) | |
| download | mullvadvpn-cdae002978c2f6e225060e022fc20c5968bee8c2.tar.xz mullvadvpn-cdae002978c2f6e225060e022fc20c5968bee8c2.zip | |
Remove unused error enum values
| -rw-r--r-- | talpid-core/src/routing/linux.rs | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/talpid-core/src/routing/linux.rs b/talpid-core/src/routing/linux.rs index bcd91d39eb..d960916345 100644 --- a/talpid-core/src/routing/linux.rs +++ b/talpid-core/src/routing/linux.rs @@ -60,9 +60,6 @@ pub enum Error { #[error(display = "Invalid network prefix")] InvalidNetworkPrefix(#[error(source)] ipnetwork::IpNetworkError), - #[error(display = "Failed to initialize event loop")] - EventLoopError(#[error(source)] io::Error), - #[error(display = "Unknown device index - {}", _0)] UnknownDeviceIndex(u32), @@ -72,14 +69,6 @@ pub enum Error { #[error(display = "Shutting down route manager")] Shutdown, - - /// Failed to run the process. - #[error(display = "Unable to execute process")] - ExecFailed(#[error(source)] io::Error), - - /// ip command returned an error status. - #[error(display = "ip command failed")] - IpFailed, } #[derive(Debug, Clone, Copy, Hash, PartialEq, Eq, PartialOrd, Ord)] |
