Function persist_management_state_or_500_local
pub fn persist_management_state_or_500_local(
root: &Value,
state_path: &Path,
) -> Result<(), i32>Expand description
Persists the management state or returns the native server-error status.
§Parameters
root: Input consumed bycrate::domain::persist_management_state_or_500_local.state_path: Input consumed bycrate::domain::persist_management_state_or_500_local.
§Returns
Returns the successful value produced by crate::domain::persist_management_state_or_500_local or an error when the operation fails.
§Errors
Returns an error value when crate::domain::persist_management_state_or_500_local cannot complete successfully.
§Examples
ⓘ
let _result = pharos_native::runtime::business::persist_management_state_or_500_local(std::path::Path::new("."), todo!());§Related
- [
crate::domain] for adjacent helpers that share the same runtime surface.