pub fn maybe_seed_app_state(app: &AppRuntime) -> Result<bool, i32>Expand description
Seeds a missing state file only when the caller explicitly requests seeding.
§Parameters
app: Input consumed bycrate::binaries::maybe_seed_app_state.
§Returns
Returns the successful value produced by crate::binaries::maybe_seed_app_state or an error when the operation fails.
§Errors
Returns an error value when crate::binaries::maybe_seed_app_state cannot complete successfully.
§Examples
ⓘ
let _result = pharos_native::binaries::maybe_seed_app_state(todo!());§Related
crate::binariesfor adjacent helpers that share the same runtime surface.