Module composite

Module composite 

Source
Expand description

Composite probe scheduler — runs multiple strategies simultaneously.

CompositeStrategy allows combining schedulers. The primary use case is running [PassiveScheduler] for passive MAC detection alongside [BackoffScheduler] as a fallback, or combining [ReactiveScheduler] with SWIM probing.

§Deduplication

Multiple strategies may independently decide to broadcast on the same tick. CompositeStrategy collapses all ProbeRequest::Broadcast emissions from one tick into a single broadcast. ProbeRequest::Unicast requests are deduplicated per FaceId — one unicast per face per tick.

§Forwarding

[on_probe_success], [on_probe_timeout], and [trigger] are forwarded to all member strategies so that each maintains consistent internal state.

Structs§

CompositeStrategy
A composite probe scheduler that runs multiple strategies in parallel and deduplicates their output.