Struct esp_wifi::wifi::AccessPointConfiguration
source · pub struct AccessPointConfiguration {
pub ssid: String<32>,
pub ssid_hidden: bool,
pub channel: u8,
pub secondary_channel: Option<u8>,
pub protocols: EnumSet<Protocol>,
pub auth_method: AuthMethod,
pub password: String<64>,
pub max_connections: u16,
}
Expand description
Configuration for a Wi-Fi access point.
Fields§
§ssid: String<32>
The SSID of the access point.
Whether the SSID is hidden or visible.
channel: u8
The channel the access point will operate on.
secondary_channel: Option<u8>
The secondary channel configuration.
protocols: EnumSet<Protocol>
The set of protocols supported by the access point.
auth_method: AuthMethod
The authentication method to be used by the access point.
password: String<64>
The password for securing the access point (if applicable).
max_connections: u16
The maximum number of connections allowed on the access point.
Trait Implementations§
source§impl Clone for AccessPointConfiguration
impl Clone for AccessPointConfiguration
source§fn clone(&self) -> AccessPointConfiguration
fn clone(&self) -> AccessPointConfiguration
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 AccessPointConfiguration
impl Debug for AccessPointConfiguration
source§impl Default for AccessPointConfiguration
impl Default for AccessPointConfiguration
source§impl PartialEq for AccessPointConfiguration
impl PartialEq for AccessPointConfiguration
impl Eq for AccessPointConfiguration
impl StructuralPartialEq for AccessPointConfiguration
Auto Trait Implementations§
impl Freeze for AccessPointConfiguration
impl RefUnwindSafe for AccessPointConfiguration
impl Send for AccessPointConfiguration
impl Sync for AccessPointConfiguration
impl Unpin for AccessPointConfiguration
impl UnwindSafe for AccessPointConfiguration
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,
§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)