Skip to main content

load_app_runtime_for_single_app

Function load_app_runtime_for_single_app 

Source
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

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