pub struct wifi_ap_config {Show 13 fields
pub ssid: Vec<u8, 33>,
pub password: Vec<u8, 64>,
pub ssid_len: u32,
pub channel: u32,
pub authmode: i32,
pub ssid_hidden: u32,
pub max_connection: u32,
pub beacon_interval: u32,
pub pairwise_cipher: i32,
pub ftm_responder: bool,
pub pmf_cfg: wifi_pmf_config,
pub sae_pwe_h2e: i32,
pub _has: _Hazzer,
}
Fields§
§ssid: Vec<u8, 33>
§password: Vec<u8, 64>
§ssid_len: u32
§channel: u32
§authmode: i32
§max_connection: u32
§beacon_interval: u32
§pairwise_cipher: i32
§ftm_responder: bool
§pmf_cfg: wifi_pmf_config
§sae_pwe_h2e: i32
§_has: _Hazzer
Implementations§
Source§impl wifi_ap_config
impl wifi_ap_config
Sourcepub fn init_ssid(self, value: Vec<u8, 33>) -> Self
pub fn init_ssid(self, value: Vec<u8, 33>) -> Self
Builder method that sets the value of ssid
. Useful for initializing the message.
Sourcepub fn mut_password(&mut self) -> &mut Vec<u8, 64>
pub fn mut_password(&mut self) -> &mut Vec<u8, 64>
Return a mutable reference to password
Sourcepub fn set_password(&mut self, value: Vec<u8, 64>) -> &mut Self
pub fn set_password(&mut self, value: Vec<u8, 64>) -> &mut Self
Set the value of password
Sourcepub fn init_password(self, value: Vec<u8, 64>) -> Self
pub fn init_password(self, value: Vec<u8, 64>) -> Self
Builder method that sets the value of password
. Useful for initializing the message.
Sourcepub fn mut_ssid_len(&mut self) -> &mut u32
pub fn mut_ssid_len(&mut self) -> &mut u32
Return a mutable reference to ssid_len
Sourcepub fn set_ssid_len(&mut self, value: u32) -> &mut Self
pub fn set_ssid_len(&mut self, value: u32) -> &mut Self
Set the value of ssid_len
Sourcepub fn init_ssid_len(self, value: u32) -> Self
pub fn init_ssid_len(self, value: u32) -> Self
Builder method that sets the value of ssid_len
. Useful for initializing the message.
Sourcepub fn mut_channel(&mut self) -> &mut u32
pub fn mut_channel(&mut self) -> &mut u32
Return a mutable reference to channel
Sourcepub fn set_channel(&mut self, value: u32) -> &mut Self
pub fn set_channel(&mut self, value: u32) -> &mut Self
Set the value of channel
Sourcepub fn init_channel(self, value: u32) -> Self
pub fn init_channel(self, value: u32) -> Self
Builder method that sets the value of channel
. Useful for initializing the message.
Sourcepub fn mut_authmode(&mut self) -> &mut i32
pub fn mut_authmode(&mut self) -> &mut i32
Return a mutable reference to authmode
Sourcepub fn set_authmode(&mut self, value: i32) -> &mut Self
pub fn set_authmode(&mut self, value: i32) -> &mut Self
Set the value of authmode
Sourcepub fn init_authmode(self, value: i32) -> Self
pub fn init_authmode(self, value: i32) -> Self
Builder method that sets the value of authmode
. Useful for initializing the message.
Return a reference to ssid_hidden
Return a mutable reference to ssid_hidden
Set the value of ssid_hidden
Builder method that sets the value of ssid_hidden
. Useful for initializing the message.
Sourcepub fn max_connection(&self) -> &u32
pub fn max_connection(&self) -> &u32
Return a reference to max_connection
Sourcepub fn mut_max_connection(&mut self) -> &mut u32
pub fn mut_max_connection(&mut self) -> &mut u32
Return a mutable reference to max_connection
Sourcepub fn set_max_connection(&mut self, value: u32) -> &mut Self
pub fn set_max_connection(&mut self, value: u32) -> &mut Self
Set the value of max_connection
Sourcepub fn init_max_connection(self, value: u32) -> Self
pub fn init_max_connection(self, value: u32) -> Self
Builder method that sets the value of max_connection
. Useful for initializing the message.
Sourcepub fn beacon_interval(&self) -> &u32
pub fn beacon_interval(&self) -> &u32
Return a reference to beacon_interval
Sourcepub fn mut_beacon_interval(&mut self) -> &mut u32
pub fn mut_beacon_interval(&mut self) -> &mut u32
Return a mutable reference to beacon_interval
Sourcepub fn set_beacon_interval(&mut self, value: u32) -> &mut Self
pub fn set_beacon_interval(&mut self, value: u32) -> &mut Self
Set the value of beacon_interval
Sourcepub fn init_beacon_interval(self, value: u32) -> Self
pub fn init_beacon_interval(self, value: u32) -> Self
Builder method that sets the value of beacon_interval
. Useful for initializing the message.
Sourcepub fn pairwise_cipher(&self) -> &i32
pub fn pairwise_cipher(&self) -> &i32
Return a reference to pairwise_cipher
Sourcepub fn mut_pairwise_cipher(&mut self) -> &mut i32
pub fn mut_pairwise_cipher(&mut self) -> &mut i32
Return a mutable reference to pairwise_cipher
Sourcepub fn set_pairwise_cipher(&mut self, value: i32) -> &mut Self
pub fn set_pairwise_cipher(&mut self, value: i32) -> &mut Self
Set the value of pairwise_cipher
Sourcepub fn init_pairwise_cipher(self, value: i32) -> Self
pub fn init_pairwise_cipher(self, value: i32) -> Self
Builder method that sets the value of pairwise_cipher
. Useful for initializing the message.
Sourcepub fn ftm_responder(&self) -> &bool
pub fn ftm_responder(&self) -> &bool
Return a reference to ftm_responder
Sourcepub fn mut_ftm_responder(&mut self) -> &mut bool
pub fn mut_ftm_responder(&mut self) -> &mut bool
Return a mutable reference to ftm_responder
Sourcepub fn set_ftm_responder(&mut self, value: bool) -> &mut Self
pub fn set_ftm_responder(&mut self, value: bool) -> &mut Self
Set the value of ftm_responder
Sourcepub fn init_ftm_responder(self, value: bool) -> Self
pub fn init_ftm_responder(self, value: bool) -> Self
Builder method that sets the value of ftm_responder
. Useful for initializing the message.
Sourcepub fn pmf_cfg(&self) -> Option<&wifi_pmf_config>
pub fn pmf_cfg(&self) -> Option<&wifi_pmf_config>
Return a reference to pmf_cfg
as an Option
Sourcepub fn set_pmf_cfg(&mut self, value: wifi_pmf_config) -> &mut Self
pub fn set_pmf_cfg(&mut self, value: wifi_pmf_config) -> &mut Self
Set the value and presence of pmf_cfg
Sourcepub fn mut_pmf_cfg(&mut self) -> Option<&mut wifi_pmf_config>
pub fn mut_pmf_cfg(&mut self) -> Option<&mut wifi_pmf_config>
Return a mutable reference to pmf_cfg
as an Option
Sourcepub fn clear_pmf_cfg(&mut self) -> &mut Self
pub fn clear_pmf_cfg(&mut self) -> &mut Self
Clear the presence of pmf_cfg
Sourcepub fn take_pmf_cfg(&mut self) -> Option<wifi_pmf_config>
pub fn take_pmf_cfg(&mut self) -> Option<wifi_pmf_config>
Take the value of pmf_cfg
and clear its presence
Sourcepub fn init_pmf_cfg(self, value: wifi_pmf_config) -> Self
pub fn init_pmf_cfg(self, value: wifi_pmf_config) -> Self
Builder method that sets the value of pmf_cfg
. Useful for initializing the message.
Sourcepub fn sae_pwe_h2e(&self) -> &i32
pub fn sae_pwe_h2e(&self) -> &i32
Return a reference to sae_pwe_h2e
Sourcepub fn mut_sae_pwe_h2e(&mut self) -> &mut i32
pub fn mut_sae_pwe_h2e(&mut self) -> &mut i32
Return a mutable reference to sae_pwe_h2e
Sourcepub fn set_sae_pwe_h2e(&mut self, value: i32) -> &mut Self
pub fn set_sae_pwe_h2e(&mut self, value: i32) -> &mut Self
Set the value of sae_pwe_h2e
Sourcepub fn init_sae_pwe_h2e(self, value: i32) -> Self
pub fn init_sae_pwe_h2e(self, value: i32) -> Self
Builder method that sets the value of sae_pwe_h2e
. Useful for initializing the message.
Trait Implementations§
Source§impl Clone for wifi_ap_config
impl Clone for wifi_ap_config
Source§fn clone(&self) -> wifi_ap_config
fn clone(&self) -> wifi_ap_config
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for wifi_ap_config
impl Debug for wifi_ap_config
Source§impl Default for wifi_ap_config
impl Default for wifi_ap_config
Source§fn default() -> wifi_ap_config
fn default() -> wifi_ap_config
Source§impl MessageDecode for wifi_ap_config
impl MessageDecode for wifi_ap_config
Source§fn decode<IMPL_MICROPB_READ: PbRead>(
&mut self,
decoder: &mut PbDecoder<IMPL_MICROPB_READ>,
len: usize,
) -> Result<(), DecodeError<IMPL_MICROPB_READ::Error>>
fn decode<IMPL_MICROPB_READ: PbRead>( &mut self, decoder: &mut PbDecoder<IMPL_MICROPB_READ>, len: usize, ) -> Result<(), DecodeError<IMPL_MICROPB_READ::Error>>
self
. Read more