pub fn build_runtime_status_report_json(
stack: &RuntimeStack,
apps_dir: &str,
) -> Result<String, &'static str>Expand description
Builds the JSON status report for the loaded runtime stack.
§Parameters
stack: Input consumed bycrate::runtime::build_runtime_status_report_json.apps_dir: Input consumed bycrate::runtime::build_runtime_status_report_json.
§Returns
Returns the successful value produced by crate::runtime::build_runtime_status_report_json or an error when the operation fails.
§Errors
Returns an error value when crate::runtime::build_runtime_status_report_json cannot complete successfully.
§Performance
Performance is proportional to the size of the supplied inputs and any parsed or loaded data consumed by crate::runtime::build_runtime_status_report_json.
§Examples
ⓘ
let _result = pharos_native::runtime::build_runtime_status_report_json(todo!(), todo!());§Related
crate::runtimefor adjacent helpers that share the same runtime surface.