RpcEnvironment: add environment type enum RpcEnvironmentType
This commit is contained in:
1 parent
e82dad9700
commit
162b979394
4 files changed
+28
-3
No files matched your search
@@ -22,4 +22,9 @@ impl RpcEnvironment for CliEnvironment {
|
||||
fn get_result_attrib(&self, name: &str) -> Option<&Value> {
|
||||
self.result_attributes.get(name)
|
||||
}
|
||||
|
||||
fn env_type(&self) -> RpcEnvironmentType {
|
||||
RpcEnvironmentType::CLI
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user