handle_multiple_results

Function handle_multiple_results 

Source
pub(crate) fn handle_multiple_results<'a>(
    results: &'a [Result<()>],
) -> HandleMultipleResult<'a>
Expand description

Evaluates results from multiple operations and categorizes errors by retryability.

If all operations succeed, returns AllSuccessful. If all errors are retryable, returns AllRetryable. If all errors are non-retryable, returns AllNonRetryable. Otherwise, returns PartialRetryable with separate collections for retryable and non-retryable errors.