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