Trait JsonRpcDispatcher
pub trait JsonRpcDispatcher {
Show 17 methods
// Required methods
fn synthesize_app_model(&self, request: JsonRpcRequest) -> String;
fn scaffold_app(&self, request: JsonRpcRequest) -> String;
fn read_app_model(&self, request: JsonRpcRequest) -> String;
fn plan_app_change(&self, request: JsonRpcRequest) -> String;
fn inspect_change(&self, request: JsonRpcRequest) -> String;
fn apply_app_change(&self, request: JsonRpcRequest) -> String;
fn lifecycle_app(
&self,
request: JsonRpcRequest,
verb: &'static str,
) -> String;
fn seed_app(&self, request: JsonRpcRequest) -> String;
fn validate_local(&self, request: JsonRpcRequest) -> String;
fn backup_app(&self, request: JsonRpcRequest) -> String;
fn restore_app(&self, request: JsonRpcRequest) -> String;
fn jobs_app(
&self,
request: JsonRpcRequest,
operation: &'static str,
) -> String;
fn integrations_app(
&self,
request: JsonRpcRequest,
operation: &'static str,
) -> String;
fn deploy_target(&self, request: JsonRpcRequest) -> String;
fn list_targets(&self, request: JsonRpcRequest) -> String;
fn host_detect(&self, request: JsonRpcRequest) -> String;
fn production_readiness(&self, request: JsonRpcRequest) -> String;
}Expand description
Runtime-owned tool bodies used by the crate-owned JSON-RPC dispatch table.