[][src]Module srv_rs::policy

SRV target selection policies.

Structs

Affinity

Policy that selects targets based on past successes--if a target was used successfully in a past execution, it will be recommended first.

AffinityUriIter

Iterator over Uris based on affinity. See Affinity.

Cache

A cache of items valid for a limited period of time.

ParsedRecord

Representation of a SRV record with its target and port parsed into a Uri.

Rfc2782

Policy that selects targets based on the algorithm in RFC 2782, reshuffling by weight for each selection.

Traits

Policy

Policy for SrvClient to use when selecting SRV targets to recommend.