diff options
| author | Kunal Mohan <kunalmohan99@gmail.com> | 2021-03-24 15:34:53 +0530 |
|---|---|---|
| committer | Kunal Mohan <kunalmohan99@gmail.com> | 2021-05-04 20:47:52 +0530 |
| commit | e30ec5745ef1f5526a05be1f49fed7b406558805 (patch) | |
| tree | 5467fd236cc135d754352a0f49bcf69f38f8d1fb /src/common/errors.rs | |
| parent | Some documentation an ClientOsApi stuff (diff) | |
| download | sl0ppij-e30ec5745ef1f5526a05be1f49fed7b406558805.tar.gz sl0ppij-e30ec5745ef1f5526a05be1f49fed7b406558805.tar.xz sl0ppij-e30ec5745ef1f5526a05be1f49fed7b406558805.zip | |
Add router thread on server side as well
Diffstat (limited to 'src/common/errors.rs')
| -rw-r--r-- | src/common/errors.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/errors.rs b/src/common/errors.rs index 83527448..37729fbb 100644 --- a/src/common/errors.rs +++ b/src/common/errors.rs @@ -387,6 +387,7 @@ pub enum ServerContext { OsApi, DoneClosingPane, ClosePluginPane, + ClientExit, Exit, } @@ -403,6 +404,7 @@ impl From<&ServerInstruction> for ServerContext { ServerInstruction::OsApi(_) => ServerContext::OsApi, ServerInstruction::DoneClosingPane => ServerContext::DoneClosingPane, ServerInstruction::ClosePluginPane(_) => ServerContext::ClosePluginPane, + ServerInstruction::ClientExit => ServerContext::ClientExit, ServerInstruction::Exit => ServerContext::Exit, } } |
