custom_cli

This commit is contained in:
Aiden McClelland
2021-08-31 22:53:48 -06:00
committed by Aiden McClelland
parent 9fb02c6a1e
commit 064c905bd3
6 changed files with 44 additions and 37 deletions

View File

@@ -14,17 +14,3 @@ impl From<RpcContext> for () {
()
}
}
// TODO: these shouldn't be necessary
impl From<CliContext> for RpcContext {
fn from(_: CliContext) -> Self {
panic!("RPC Context used in CLI Handler")
}
}
impl From<RpcContext> for CliContext {
fn from(_: RpcContext) -> Self {
panic!("CLI Context used in RPC Handler")
}
}