pub fn run_function<F: AsyncRecoverableFunction>(func: F) -> AsyncSpawnResultExpand description
Executes a recoverable function within a panic-safe context.
func: A function implementing theAsyncRecoverableFunctiontrait.- Returns: A
AsyncSpawnResultindicating the success or failure of the function execution.