pub fn run_function<F: RecoverableFunction>(func: F) -> SpawnResultExpand description
Executes a recoverable function within a panic-safe context.
func: A function implementing theRecoverableFunctiontrait.- Returns: A
SpawnResultindicating the success or failure of the function execution.