aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/errors.rs
diff options
context:
space:
mode:
authorBrooks J Rady <b.j.rady@gmail.com>2021-03-25 14:56:59 +0000
committerBrooks J Rady <b.j.rady@gmail.com>2021-03-25 14:56:59 +0000
commit0371c111b795b8ff5ad852b22528f5caa3a2c7b0 (patch)
treeb5c3a4ca54d718c725260ebc8943be54dc036ac3 /src/common/errors.rs
parentRename Help to ModeInfo (diff)
downloadsl0ppij-0371c111b795b8ff5ad852b22528f5caa3a2c7b0.tar.gz
sl0ppij-0371c111b795b8ff5ad852b22528f5caa3a2c7b0.tar.xz
sl0ppij-0371c111b795b8ff5ad852b22528f5caa3a2c7b0.zip
Removed AppState and the unneeded get_help() function
Diffstat (limited to 'src/common/errors.rs')
-rw-r--r--src/common/errors.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/common/errors.rs b/src/common/errors.rs
index 9afa694f..7b194f5d 100644
--- a/src/common/errors.rs
+++ b/src/common/errors.rs
@@ -305,8 +305,6 @@ impl From<&PluginInstruction> for PluginContext {
/// Stack call representations corresponding to the different types of [`AppInstruction`]s.
#[derive(Debug, Clone, Copy, PartialEq)]
pub enum AppContext {
- GetState,
- SetState,
Exit,
Error,
}
@@ -314,8 +312,6 @@ pub enum AppContext {
impl From<&AppInstruction> for AppContext {
fn from(app_instruction: &AppInstruction) -> Self {
match *app_instruction {
- AppInstruction::GetState(_) => AppContext::GetState,
- AppInstruction::SetState(_) => AppContext::SetState,
AppInstruction::Exit => AppContext::Exit,
AppInstruction::Error(_) => AppContext::Error,
}