max_response_time

Function max_response_time 

Source
pub fn max_response_time(
    rta_per_offset: impl Iterator<Item = SearchResult>,
) -> SearchResult
Expand description

Given a sequence of SearchResults, either return the maximum finite result (if no divergence errors occurred) or propagate the first error encountered.

This utility function is useful when analyzing a set of offsets that must be considered as part of a response-time analysis.