pub fn load_packaged_artifact(
config_record: &ServeConfig,
artifact_root: &Path,
) -> Result<(AppRuntime, String), &'static str>Expand description
Loads one packaged artifact into an app runtime view.
§Parameters
config_record: Parsed runtime configuration entry for the app being loaded.artifact_root: Built artifact directory that owns the packaged app files.
§Returns
Returns the successful value produced by crate::runtime::load_packaged_artifact or an error when the operation fails.
§Errors
Returns an error value when crate::runtime::load_packaged_artifact cannot complete successfully.
§Examples
ⓘ
let _result = pharos_native::runtime::load_packaged_artifact(todo!(), todo!(), todo!(), todo!());§Related
crate::runtimefor adjacent helpers that share the same runtime surface.