Skip to main content

Module stack

Module stack 

Source
Expand description

Provides runtime stack records.

Structsยง

RuntimeAppLoadFailure
Recorded failure for one app that could not be loaded into the runtime stack.
RuntimeAppLoadOutcome
Result of loading one app root into the shared runtime stack.
RuntimeAppStartupTiming
Startup timing for one app loaded into the shared runtime stack.
RuntimeStack
Loaded shared runtime state for the native multi-app host.
RuntimeStackLoadConfig
Resolved inputs for shared runtime stack loading.

Traitsยง

RuntimeAppLoadService
App loading services supplied by the root runtime while stack orchestration stays in the core crate.

Functionsยง

app_directory_matches_id
Returns whether an app root directory basename matches the declared app id.
app_load_failure
Builds one failed app load record from bounded runtime loader context.
app_load_parallelism
Computes bounded app-load parallelism for startup.
apps_dir_has_root_manifest
Returns whether the apps directory is itself an app root, which shared runtime loading rejects.
json_runtime_string ๐Ÿ”’
json_string ๐Ÿ”’
load_app_runtime_for_single_app_direct_with_service
Loads runtime state for one directly targeted app through the shared stack loading service boundary.
load_direct_source_or_artifact_with_service ๐Ÿ”’
load_packaged_artifact_with_service
Loads one packaged artifact through an injected root artifact parser and shared finalizer.
load_runtime_stack_app_entry_with_service
Loads one app root into a runtime stack outcome through the shared stack loading service boundary.
load_runtime_stack_from_apps_dir
Loads app roots from an apps directory using a root-supplied app loader.
load_runtime_stack_from_apps_dir_with_loader ๐Ÿ”’
load_runtime_stack_from_apps_dir_with_service
Loads app roots from an apps directory using crate-owned stack orchestration and a root-supplied app service.
path_last_segment
Returns the final path segment as UTF-8 when available.
resolve_path_relative_to
Resolves a path string relative to a base directory.
resolve_runtime_stack_load_config
Resolves shared runtime stack loading config from CLI/config-file input.
resolve_value_or_default ๐Ÿ”’
runtime_apps_dir
Resolves the apps directory for a shared runtime config path.