Skip to main content

rank_from_verdicts

Function rank_from_verdicts 

Source
fn rank_from_verdicts(
    verdicts: SmallVec<[(OwnedServerName, ShouldAttempt); 3]>,
    when_all: WhenAllBackedOff,
) -> impl Iterator<Item = OwnedServerName>
Expand description

Order Yes before Deprioritize before No, preserving input order within each rank, then drop No unless every candidate is backed off and when_all is Attempt.