pub async fn connect_or_timeout_with<F>(
helper: &mut TestHelper,
timeout: MonotonicDuration,
ssid: &Ssid,
bssid: &Bssid,
protection: &Protection,
authenticator: Option<Authenticator>,
future: F,
) -> F::Output
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.