Skip to main content

dispatch_json_command_entries

Function dispatch_json_command_entries 

Source
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

§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!());