Skip to main content

embedded_assistant

Function embedded_assistant 

Source
pub fn embedded_assistant() -> Result<&'static EmbeddedAssistant, &'static EmbeddedAssistantError>
Expand description

The process-wide embedded assistant, compiled once on first use.

The document is compile-time constant, so its compiled form is too: every caller (boot install, /assistant, the operator verbs) reads this one value, and a failure is computed once and reported identically everywhere.

ยงErrors

Returns the EmbeddedAssistantError from the single load attempt.