Skip to main content

discover

Function discover 

Source
pub fn discover(
    ctx: &Ctx,
    wait: u64,
    p: &mut dyn Progress,
) -> Result<Vec<DiscoveryInfo>>
Expand description

Send one discovery frame, report every reply as it arrives until wait runs out, and return them. Empty is not an error here; the CLI makes it one.