pub async fn connect_or_timeout_with<F>(
    helper: &mut TestHelper,
    timeout: Duration,
    ssid: &Ssid,
    bssid: &Bssid,
    protection: &Protection,
    authenticator: Option<Authenticator>,
    future: F
) -> F::Output
where F: Future + Unpin,
Expand description

Runs a future until completion or timeout with a client event handler that attempts to connect to an AP with the given SSID, BSSID, and protection.