pub async fn connect_or_timeout(
    helper: &mut TestHelper,
    timeout: Duration,
    ssid: &Ssid,
    bssid: &Bssid,
    bss_protection: &Protection,
    password_or_psk: Option<&str>,
    security_type: SecurityType
)
Expand description

Waits for a timeout or Policy to establish a connection to an AP with the given SSID, BSSID, and protection.