Function async_run_error_handle_function
Source pub async fn async_run_error_handle_function<E>(
func: E,
error: Arc<String>,
) -> Result<(), JoinError>
Expand description
Executes an error-handling function within a panic-safe context.
§Arguments
E - Function implementing AsyncErrorHandlerFunction.
Arc<String> - The error message.
§Returns
AsyncSpawnResult - The spawn operation result.