pub struct wifi_sta_config {Show 16 fields
pub ssid: Vec<u8, 33>,
pub password: Vec<u8, 64>,
pub scan_method: i32,
pub bssid_set: bool,
pub bssid: Vec<u8, 6>,
pub channel: u32,
pub listen_interval: u32,
pub sort_method: i32,
pub threshold: wifi_scan_threshold,
pub pmf_cfg: wifi_pmf_config,
pub bitmask: u32,
pub sae_pwe_h2e: i32,
pub failure_retry_cnt: u32,
pub he_bitmask: u32,
pub sae_h2e_identifier: Vec<u8, 16>,
pub _has: _Hazzer,
}
Fields§
§ssid: Vec<u8, 33>
§password: Vec<u8, 64>
§scan_method: i32
§bssid_set: bool
§bssid: Vec<u8, 6>
§channel: u32
§listen_interval: u32
§sort_method: i32
§threshold: wifi_scan_threshold
§pmf_cfg: wifi_pmf_config
§bitmask: u32
§sae_pwe_h2e: i32
§failure_retry_cnt: u32
§he_bitmask: u32
§sae_h2e_identifier: Vec<u8, 16>
§_has: _Hazzer
Implementations§
Source§impl wifi_sta_config
impl wifi_sta_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 scan_method(&self) -> &i32
pub fn scan_method(&self) -> &i32
Return a reference to scan_method
Sourcepub fn mut_scan_method(&mut self) -> &mut i32
pub fn mut_scan_method(&mut self) -> &mut i32
Return a mutable reference to scan_method
Sourcepub fn set_scan_method(&mut self, value: i32) -> &mut Self
pub fn set_scan_method(&mut self, value: i32) -> &mut Self
Set the value of scan_method
Sourcepub fn init_scan_method(self, value: i32) -> Self
pub fn init_scan_method(self, value: i32) -> Self
Builder method that sets the value of scan_method
. Useful for initializing the message.
Sourcepub fn mut_bssid_set(&mut self) -> &mut bool
pub fn mut_bssid_set(&mut self) -> &mut bool
Return a mutable reference to bssid_set
Sourcepub fn set_bssid_set(&mut self, value: bool) -> &mut Self
pub fn set_bssid_set(&mut self, value: bool) -> &mut Self
Set the value of bssid_set
Sourcepub fn init_bssid_set(self, value: bool) -> Self
pub fn init_bssid_set(self, value: bool) -> Self
Builder method that sets the value of bssid_set
. Useful for initializing the message.
Sourcepub fn init_bssid(self, value: Vec<u8, 6>) -> Self
pub fn init_bssid(self, value: Vec<u8, 6>) -> Self
Builder method that sets the value of bssid
. 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 listen_interval(&self) -> &u32
pub fn listen_interval(&self) -> &u32
Return a reference to listen_interval
Sourcepub fn mut_listen_interval(&mut self) -> &mut u32
pub fn mut_listen_interval(&mut self) -> &mut u32
Return a mutable reference to listen_interval
Sourcepub fn set_listen_interval(&mut self, value: u32) -> &mut Self
pub fn set_listen_interval(&mut self, value: u32) -> &mut Self
Set the value of listen_interval
Sourcepub fn init_listen_interval(self, value: u32) -> Self
pub fn init_listen_interval(self, value: u32) -> Self
Builder method that sets the value of listen_interval
. Useful for initializing the message.
Sourcepub fn sort_method(&self) -> &i32
pub fn sort_method(&self) -> &i32
Return a reference to sort_method
Sourcepub fn mut_sort_method(&mut self) -> &mut i32
pub fn mut_sort_method(&mut self) -> &mut i32
Return a mutable reference to sort_method
Sourcepub fn set_sort_method(&mut self, value: i32) -> &mut Self
pub fn set_sort_method(&mut self, value: i32) -> &mut Self
Set the value of sort_method
Sourcepub fn init_sort_method(self, value: i32) -> Self
pub fn init_sort_method(self, value: i32) -> Self
Builder method that sets the value of sort_method
. Useful for initializing the message.
Sourcepub fn threshold(&self) -> Option<&wifi_scan_threshold>
pub fn threshold(&self) -> Option<&wifi_scan_threshold>
Return a reference to threshold
as an Option
Sourcepub fn set_threshold(&mut self, value: wifi_scan_threshold) -> &mut Self
pub fn set_threshold(&mut self, value: wifi_scan_threshold) -> &mut Self
Set the value and presence of threshold
Sourcepub fn mut_threshold(&mut self) -> Option<&mut wifi_scan_threshold>
pub fn mut_threshold(&mut self) -> Option<&mut wifi_scan_threshold>
Return a mutable reference to threshold
as an Option
Sourcepub fn clear_threshold(&mut self) -> &mut Self
pub fn clear_threshold(&mut self) -> &mut Self
Clear the presence of threshold
Sourcepub fn take_threshold(&mut self) -> Option<wifi_scan_threshold>
pub fn take_threshold(&mut self) -> Option<wifi_scan_threshold>
Take the value of threshold
and clear its presence
Sourcepub fn init_threshold(self, value: wifi_scan_threshold) -> Self
pub fn init_threshold(self, value: wifi_scan_threshold) -> Self
Builder method that sets the value of threshold
. 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 mut_bitmask(&mut self) -> &mut u32
pub fn mut_bitmask(&mut self) -> &mut u32
Return a mutable reference to bitmask
Sourcepub fn set_bitmask(&mut self, value: u32) -> &mut Self
pub fn set_bitmask(&mut self, value: u32) -> &mut Self
Set the value of bitmask
Sourcepub fn init_bitmask(self, value: u32) -> Self
pub fn init_bitmask(self, value: u32) -> Self
Builder method that sets the value of bitmask
. 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.
Sourcepub fn failure_retry_cnt(&self) -> &u32
pub fn failure_retry_cnt(&self) -> &u32
Return a reference to failure_retry_cnt
Sourcepub fn mut_failure_retry_cnt(&mut self) -> &mut u32
pub fn mut_failure_retry_cnt(&mut self) -> &mut u32
Return a mutable reference to failure_retry_cnt
Sourcepub fn set_failure_retry_cnt(&mut self, value: u32) -> &mut Self
pub fn set_failure_retry_cnt(&mut self, value: u32) -> &mut Self
Set the value of failure_retry_cnt
Sourcepub fn init_failure_retry_cnt(self, value: u32) -> Self
pub fn init_failure_retry_cnt(self, value: u32) -> Self
Builder method that sets the value of failure_retry_cnt
. Useful for initializing the message.
Sourcepub fn he_bitmask(&self) -> &u32
pub fn he_bitmask(&self) -> &u32
Return a reference to he_bitmask
Sourcepub fn mut_he_bitmask(&mut self) -> &mut u32
pub fn mut_he_bitmask(&mut self) -> &mut u32
Return a mutable reference to he_bitmask
Sourcepub fn set_he_bitmask(&mut self, value: u32) -> &mut Self
pub fn set_he_bitmask(&mut self, value: u32) -> &mut Self
Set the value of he_bitmask
Sourcepub fn init_he_bitmask(self, value: u32) -> Self
pub fn init_he_bitmask(self, value: u32) -> Self
Builder method that sets the value of he_bitmask
. Useful for initializing the message.
Sourcepub fn sae_h2e_identifier(&self) -> &Vec<u8, 16>
pub fn sae_h2e_identifier(&self) -> &Vec<u8, 16>
Return a reference to sae_h2e_identifier
Sourcepub fn mut_sae_h2e_identifier(&mut self) -> &mut Vec<u8, 16>
pub fn mut_sae_h2e_identifier(&mut self) -> &mut Vec<u8, 16>
Return a mutable reference to sae_h2e_identifier
Sourcepub fn set_sae_h2e_identifier(&mut self, value: Vec<u8, 16>) -> &mut Self
pub fn set_sae_h2e_identifier(&mut self, value: Vec<u8, 16>) -> &mut Self
Set the value of sae_h2e_identifier
Sourcepub fn init_sae_h2e_identifier(self, value: Vec<u8, 16>) -> Self
pub fn init_sae_h2e_identifier(self, value: Vec<u8, 16>) -> Self
Builder method that sets the value of sae_h2e_identifier
. Useful for initializing the message.
Trait Implementations§
Source§impl Clone for wifi_sta_config
impl Clone for wifi_sta_config
Source§fn clone(&self) -> wifi_sta_config
fn clone(&self) -> wifi_sta_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_sta_config
impl Debug for wifi_sta_config
Source§impl Default for wifi_sta_config
impl Default for wifi_sta_config
Source§fn default() -> wifi_sta_config
fn default() -> wifi_sta_config
Source§impl MessageDecode for wifi_sta_config
impl MessageDecode for wifi_sta_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