pub fn load_app_runtime_for_single_app(
artifact_dir: &Path,
) -> Result<AppRuntime, &'static str>Expand description
Loads one app runtime from its packaged artifact directory.
§Parameters
artifact_dir: Input consumed bycrate::binaries::load_app_runtime_for_single_app.
§Returns
Returns the successful value produced by crate::binaries::load_app_runtime_for_single_app or an error when the operation fails.
§Errors
Returns an error value when crate::binaries::load_app_runtime_for_single_app cannot complete successfully.
§Examples
ⓘ
let _result = pharos_native::binaries::load_app_runtime_for_single_app(std::path::Path::new("build/dev_docs"));§Related
crate::binariesfor adjacent helpers that share the same runtime surface.