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
config_record: Input consumed bycrate::runtime::load_app_runtime_for_single_app_direct.repo_root: Input consumed bycrate::runtime::load_app_runtime_for_single_app_direct.binary_dir: Input consumed bycrate::runtime::load_app_runtime_for_single_app_direct.
§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"));§Related
crate::runtimefor adjacent helpers that share the same runtime surface.