Skip to main content

discover_all

Function discover_all 

Source
pub fn discover_all(
    ctx: &Ctx,
    wait: u64,
    each: impl FnMut(&DiscoveryInfo),
) -> Result<Vec<DiscoveryInfo>>
Expand description

Send one discovery frame and collect every reply until wait runs out, handing each to each as it arrives.