Skip to main content

context_global

Function context_global 

Source
pub fn context_global() -> Option<&'static ContextConfig>
Expand description

Process-global cache for the project’s rustio.context.json.

Loaded lazily on first access and held for the life of the process — the admin runs as a long-lived server and the context file is static between restarts. None means either the file isn’t present or it couldn’t be parsed.

Pattern mirrors crate::admin::design::Design::global; the two artefacts are read once and shared across every render.