Struct esp_wifi::wifi::EapClientConfiguration
source · pub struct EapClientConfiguration {Show 14 fields
pub ssid: String<32>,
pub bssid: Option<[u8; 6]>,
pub auth_method: AuthMethod,
pub identity: Option<String<128>>,
pub username: Option<String<128>>,
pub password: Option<String<64>>,
pub new_password: Option<String<64>>,
pub eap_fast_config: Option<EapFastConfig>,
pub pac_file: Option<&'static [u8]>,
pub time_check: bool,
pub ca_cert: Option<&'static [u8]>,
pub certificate_and_key: Option<(&'static [u8], &'static [u8], Option<&'static [u8]>)>,
pub ttls_phase2_method: Option<TtlsPhase2Method>,
pub channel: Option<u8>,
}
Expand description
Configuration for an EAP (Extensible Authentication Protocol) client.
Fields§
§ssid: String<32>
The SSID of the network the client is connecting to.
bssid: Option<[u8; 6]>
The BSSID (MAC Address) of the specific access point.
auth_method: AuthMethod
The authentication method used for EAP.
identity: Option<String<128>>
The identity used during authentication.
username: Option<String<128>>
The username used for inner authentication. Some EAP methods require a username for authentication.
password: Option<String<64>>
The password used for inner authentication.
new_password: Option<String<64>>
A new password to be set during the authentication process. Some methods support password changes during authentication.
eap_fast_config: Option<EapFastConfig>
Configuration for EAP-FAST.
pac_file: Option<&'static [u8]>
A PAC (Protected Access Credential) file for EAP-FAST.
time_check: bool
A boolean flag indicating whether time checking is enforced during authentication.
ca_cert: Option<&'static [u8]>
A CA (Certificate Authority) certificate for validating the authentication server’s certificate.
certificate_and_key: Option<(&'static [u8], &'static [u8], Option<&'static [u8]>)>
A tuple containing the client’s certificate, private key, and an intermediate certificate.
ttls_phase2_method: Option<TtlsPhase2Method>
The Phase 2 authentication method used for EAP-TTLS.
channel: Option<u8>
The specific Wi-Fi channel to use for the connection.
Trait Implementations§
source§impl Clone for EapClientConfiguration
impl Clone for EapClientConfiguration
source§fn clone(&self) -> EapClientConfiguration
fn clone(&self) -> EapClientConfiguration
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EapClientConfiguration
impl Debug for EapClientConfiguration
source§impl Default for EapClientConfiguration
impl Default for EapClientConfiguration
source§impl PartialEq for EapClientConfiguration
impl PartialEq for EapClientConfiguration
impl Eq for EapClientConfiguration
impl StructuralPartialEq for EapClientConfiguration
Auto Trait Implementations§
impl Freeze for EapClientConfiguration
impl RefUnwindSafe for EapClientConfiguration
impl Send for EapClientConfiguration
impl Sync for EapClientConfiguration
impl Unpin for EapClientConfiguration
impl UnwindSafe for EapClientConfiguration
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)