Skip to main content

load_app_runtime_for_single_app_direct

Function load_app_runtime_for_single_app_direct 

Source
pub fn load_app_runtime_for_single_app_direct(
    config_record: &ServeConfig,
    repo_root: Option<&Path>,
    binary_dir: Option<&Path>,
) -> Result<AppRuntime, &'static str>
Expand description

Loads runtime state for one directly targeted app.

§Parameters

§Returns

Returns the successful value produced by crate::runtime::load_app_runtime_for_single_app_direct or an error when the operation fails.

§Errors

Returns an error value when crate::runtime::load_app_runtime_for_single_app_direct cannot complete successfully.

§Examples

ⓘ
let _result = pharos_native::runtime::load_app_runtime_for_single_app_direct(todo!(), std::path::Path::new("."), std::path::Path::new("bin"));
  • crate::runtime for adjacent helpers that share the same runtime surface.