Skip to main content

build_runtime_status_report_json

Function build_runtime_status_report_json 

Source
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

§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!());
  • crate::runtime for adjacent helpers that share the same runtime surface.