choose

Function choose 

Source
pub fn choose(
    found: Vec<Found>,
    interactive: bool,
    how: Discovery,
) -> Result<Option<Target>>
Expand description

Turn a scan result set into a single target, asking the user when the answer is ambiguous — or, under Discovery::Ask, whenever there is anything to ask about.