Skip to main content

persist_management_state_or_500_local

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

§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!());
  • [crate::domain] for adjacent helpers that share the same runtime surface.