pub fn build_strategy(cfg: &DiscoveryConfig) -> Box<dyn NeighborProbeStrategy>Expand description
Construct the appropriate NeighborProbeStrategy for the given config.
The mapping follows HelloStrategyKind:
| Kind | Scheduler |
|---|---|
Backoff | BackoffScheduler |
Reactive | ReactiveScheduler |
Passive | PassiveScheduler (falls back to backoff when idle) |
Swim | BackoffScheduler (SWIM strategy not yet implemented) |