pub async fn connect_to(
        &self,
        ssid: SSID,
        credentials: AccessPointCredentials,
        hw: Option<String>,
        overwrite_same_ssid_connection: bool,
    ) -> Result<Option<ActiveConnection>, CaptivePortalError> {
        unimplemented!()
    }
/// Connect to the given SSID with the given credentials.
/// First tries to find a wifi connection if "hw" is set or "overwrite_same_ssid_connection" is true.
/// If it finds one, the connection will be altered to use the given credentials and SSID, otherwise a new connection is created.
///
/// If "overwrite_same_ssid_connection" is false and "hw" is not set, but network manager already knows about a connection
/// to a SSID with the same name, it will add a number suffix to the connection name. If the SSID is
/// for example "My AP" and there is already a connection with the name "My AP", the newly
/// created connection will be named "My AP 1".
///
/// # Arguments:
/// * ssid: The ssid
/// * credentials: The connection credentials
/// * hw: The target access point mac address. If this is set, this method will first try to find
///   a connection that was connected to that access point in the past and update that connection.
/// * overwrite_same_ssid_connection: If this is true and a connection can be found that matches the
///   given SSID, that connection will be updated.
Connect to the given SSID with the given credentials.
First tries to find a wifi connection if "hw" is set or "overwrite_same_ssid_connection" is true.
If it finds one, the connection will be altered to use the given credentials and SSID, otherwise a new connection is created.

If "overwrite_same_ssid_connection" is false and "hw" is not set, but network manager already knows about a connection
to a SSID with the same name, it will add a number suffix to the connection name.
Connect to the given SSID with the given credentials . First tries to find a wifi connection if " hw " is set or " overwrite_same_ssid_connection " is true . If it finds one the connection will be altered to use the given credentials and SSID otherwise a new connection is created . If " overwrite_same_ssid_connection " is false and " hw " is not set but network manager already knows about a connection to a SSID with the same name it will add a number suffix to the connection name .
pub async fn connect_to(
        &self,
        ssid: SSID,
        credentials: AccessPointCredentials,
        hw: Option<String>,
        overwrite_same_ssid_connection: bool,
    ) -> Result<Option<ActiveConnection>, CaptivePortalError> {
        unimplemented!()
    }
pub async fn connect_to ( & self , ssid : SSID , credentials : AccessPointCredentials , hw : Option < String > , overwrite_same_ssid_connection : bool , ) -> Result < Option < ActiveConnection > , CaptivePortalError > { unimplemented ! ( ) }
Connect to the given SSID with the given credentials.
Connect to the given SSID with the given credentials .
&self
ssid
SSID
credentials
AccessPointCredentials
hw
Option<String>
overwrite_same_ssid_connection
bool
&self
ssid
SSID
credentials
AccessPointCredentials
hw
Option<String>
overwrite_same_ssid_connection
bool
arguments:
The ssid
credentials: The connection credentials
hw: The target access point mac address. If this is set, this method will first try to find
a connection that was connected to that access point in the past and update that connection.
overwrite_same_ssid_connection: If this is true and a connection can be found that matches the
given SSID, that connection will be updated.
The ssid credentials : The connection credentials hw : The target access point mac address . If this is set this method will first try to find a connection that was connected to that access point in the past and update that connection . overwrite_same_ssid_connection : If this is true and a connection can be found that matches the given SSID that connection will be updated .