Skip to main content

handle_state_named_command

Function handle_state_named_command 

Source
pub fn handle_state_named_command(
    state_path: &Path,
    name: &str,
    options_json: &str,
) -> Result<String, i32>
Expand description

Handles state named command.

§Parameters

§Returns

Returns the successful value produced by crate::runtime::json_commands::handle_state_named_command or an error when the operation fails.

§Errors

Returns an error value when crate::runtime::json_commands::handle_state_named_command cannot complete successfully.

§Examples

ⓘ
let _result = pharos_native::runtime::json_commands::handle_state_named_command(todo!(), "name", todo!());