Struct embedded_svc::wifi::ClientConfiguration
source · pub struct ClientConfiguration {
pub ssid: String<32>,
pub bssid: Option<[u8; 6]>,
pub auth_method: AuthMethod,
pub password: String<64>,
pub channel: Option<u8>,
pub scan_method: ScanMethod,
pub pmf_cfg: PmfConfiguration,
}
Expand description
Configuration for wifi in STA mode
Fields§
§ssid: String<32>
SSID of the target AP
bssid: Option<[u8; 6]>
BSSID of the target AP
auth_method: AuthMethod
§password: String<64>
§channel: Option<u8>
The expected Channel of the target AP
Connecting might be quicker when the client starts its scan at the channel the target AP is on.
scan_method: ScanMethod
The scan method to use when searching for the target AP
pmf_cfg: PmfConfiguration
Protected Management Frame configuration
Trait Implementations§
source§impl Clone for ClientConfiguration
impl Clone for ClientConfiguration
source§fn clone(&self) -> ClientConfiguration
fn clone(&self) -> ClientConfiguration
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ClientConfiguration
impl Debug for ClientConfiguration
source§impl Default for ClientConfiguration
impl Default for ClientConfiguration
source§impl PartialEq for ClientConfiguration
impl PartialEq for ClientConfiguration
source§fn eq(&self, other: &ClientConfiguration) -> bool
fn eq(&self, other: &ClientConfiguration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ClientConfiguration
impl StructuralPartialEq for ClientConfiguration
Auto Trait Implementations§
impl Freeze for ClientConfiguration
impl RefUnwindSafe for ClientConfiguration
impl Send for ClientConfiguration
impl Sync for ClientConfiguration
impl Unpin for ClientConfiguration
impl UnwindSafe for ClientConfiguration
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
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)