pub fn pick_adapter(names: &[String], wanted: &str) -> Option<usize>
The index of the adapter called wanted in names (the first with that name), or None when there is none, so the default choice is used.
wanted
names
None