Skip to main content

export_runtime_state_json

Function export_runtime_state_json 

Source
pub fn export_runtime_state_json(
    app_root: &Path,
    runtime_conf_path: Option<&Path>,
    app_id: Option<&str>,
) -> Option<String>
Expand description

Exports relational state through the selected backend contract.

§Parameters

§Returns

Returns Some when crate::runtime::json_commands::export_runtime_state_json can produce a value and None otherwise.

§Examples

ⓘ
let _result = pharos_native::runtime::json_commands::export_runtime_state_json(std::path::Path::new("apps/dev_docs"), todo!(), todo!());