mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-04-01 21:13:09 +00:00
custom_cli
This commit is contained in:
committed by
Aiden McClelland
parent
9fb02c6a1e
commit
064c905bd3
@@ -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")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user