diff options
| author | Kunal Mohan <kunalmohan99@gmail.com> | 2021-03-29 22:43:54 +0530 |
|---|---|---|
| committer | Kunal Mohan <kunalmohan99@gmail.com> | 2021-05-04 20:48:14 +0530 |
| commit | ea732166e35368b423de348a41db41662c3686ad (patch) | |
| tree | 32c20dac42250ae0bc264030e3278f6519aa3ccd /src/common/errors.rs | |
| parent | split start into start_server and start_client (diff) | |
| download | sl0ppij-ea732166e35368b423de348a41db41662c3686ad.tar.gz sl0ppij-ea732166e35368b423de348a41db41662c3686ad.tar.xz sl0ppij-ea732166e35368b423de348a41db41662c3686ad.zip | |
client side threads should send messages directly to server and router threads should do the actual routing
Diffstat (limited to 'src/common/errors.rs')
| -rw-r--r-- | src/common/errors.rs | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/common/errors.rs b/src/common/errors.rs index ab831bc4..3ee36752 100644 --- a/src/common/errors.rs +++ b/src/common/errors.rs @@ -350,11 +350,8 @@ impl From<&PluginInstruction> for PluginContext { pub enum AppContext { Exit, Error, - ToPty, - ToPlugin, - ToScreen, DoneClosingPane, - OsApi, + ToPty, } impl From<&AppInstruction> for AppContext { @@ -362,11 +359,8 @@ impl From<&AppInstruction> for AppContext { match *app_instruction { AppInstruction::Exit => AppContext::Exit, AppInstruction::Error(_) => AppContext::Error, - AppInstruction::ToPty(_) => AppContext::ToPty, - AppInstruction::OsApi(_) => AppContext::OsApi, - AppInstruction::ToPlugin(_) => AppContext::ToPlugin, - AppInstruction::ToScreen(_) => AppContext::ToScreen, AppInstruction::DoneClosingPane => AppContext::DoneClosingPane, + AppInstruction::ToPty(_) => AppContext::ToPty, } } } |
