pub fn dispatch_json_command_entries(
state_path: &Path,
command: &str,
options_json: &str,
) -> Result<String, i32>Expand description
Dispatches a named JSON command against a persisted state file.
§Parameters
state_path: Input consumed bycrate::runtime::json_commands::dispatch_json_command_entries.command: Input consumed bycrate::runtime::json_commands::dispatch_json_command_entries.options_json: Input consumed bycrate::runtime::json_commands::dispatch_json_command_entries.
§Returns
Returns the successful value produced by crate::runtime::json_commands::dispatch_json_command_entries or an error when the operation fails.
§Errors
Returns an error value when crate::runtime::json_commands::dispatch_json_command_entries cannot complete successfully.
§Examples
ⓘ
let _result = pharos_native::runtime::json_commands::dispatch_json_command_entries(todo!(), todo!(), todo!());§Related
crate::runtime::json_commandsfor adjacent helpers that share the same runtime surface.