Expand description
Proxy rotation strategy trait and built-in implementations.
Structs§
- Least
Used Strategy - Selects the healthy proxy with the fewest total requests.
- Proxy
Candidate - A lightweight view of a proxy considered for selection.
- Random
Strategy - Selects a healthy proxy uniformly at random on each call.
- Round
Robin Strategy - Cycles through healthy proxies in order, distributing load evenly.
- Weighted
Strategy - Selects a healthy proxy with probability proportional to its
weight.
Traits§
- Rotation
Strategy - Selects a proxy from a slice of candidates on each request.
Functions§
- healthy_
candidates - Filter
allto only the candidates that are currently healthy.
Type Aliases§
- Boxed
Rotation Strategy - Shared-ownership type alias for a
RotationStrategyimplementation.