pub fn send_boot_manifest_from_state<J, S>(
state: &S,
app_version: Option<&str>,
git_sha: Option<&str>,
cron_registry: Option<&CronRegistry<S>>,
) -> Result<(), BootManifestDeclarationError>where
J: JobRegistry<S>,
S: AppState,Expand description
Sends an authoritative state-aware manifest. Use ::<Jobs, _>(&app_state, ...).
ยงErrors
Returns a declaration error only when Eyes is configured. Callers should
generally log and continue rather than use ? during boot unless missing
monitoring should make the application unavailable.