pub struct wifi_init_config {Show 20 fields
pub static_rx_buf_num: i32,
pub dynamic_rx_buf_num: i32,
pub tx_buf_type: i32,
pub static_tx_buf_num: i32,
pub dynamic_tx_buf_num: i32,
pub cache_tx_buf_num: i32,
pub csi_enable: i32,
pub ampdu_rx_enable: i32,
pub ampdu_tx_enable: i32,
pub amsdu_tx_enable: i32,
pub nvs_enable: i32,
pub nano_enable: i32,
pub rx_ba_win: i32,
pub wifi_task_core_id: i32,
pub beacon_max_len: i32,
pub mgmt_sbuf_num: i32,
pub feature_caps: u64,
pub sta_disconnected_pm: bool,
pub espnow_max_encrypt_num: i32,
pub magic: i32,
}
Fields§
§static_rx_buf_num: i32
§dynamic_rx_buf_num: i32
§tx_buf_type: i32
§static_tx_buf_num: i32
§dynamic_tx_buf_num: i32
§cache_tx_buf_num: i32
§csi_enable: i32
§ampdu_rx_enable: i32
§ampdu_tx_enable: i32
§amsdu_tx_enable: i32
§nvs_enable: i32
§nano_enable: i32
§rx_ba_win: i32
§wifi_task_core_id: i32
§beacon_max_len: i32
§mgmt_sbuf_num: i32
§feature_caps: u64
§sta_disconnected_pm: bool
§espnow_max_encrypt_num: i32
§magic: i32
Implementations§
Source§impl wifi_init_config
impl wifi_init_config
Sourcepub fn static_rx_buf_num(&self) -> &i32
pub fn static_rx_buf_num(&self) -> &i32
Return a reference to static_rx_buf_num
Sourcepub fn mut_static_rx_buf_num(&mut self) -> &mut i32
pub fn mut_static_rx_buf_num(&mut self) -> &mut i32
Return a mutable reference to static_rx_buf_num
Sourcepub fn set_static_rx_buf_num(&mut self, value: i32) -> &mut Self
pub fn set_static_rx_buf_num(&mut self, value: i32) -> &mut Self
Set the value of static_rx_buf_num
Sourcepub fn init_static_rx_buf_num(self, value: i32) -> Self
pub fn init_static_rx_buf_num(self, value: i32) -> Self
Builder method that sets the value of static_rx_buf_num
. Useful for initializing the message.
Sourcepub fn dynamic_rx_buf_num(&self) -> &i32
pub fn dynamic_rx_buf_num(&self) -> &i32
Return a reference to dynamic_rx_buf_num
Sourcepub fn mut_dynamic_rx_buf_num(&mut self) -> &mut i32
pub fn mut_dynamic_rx_buf_num(&mut self) -> &mut i32
Return a mutable reference to dynamic_rx_buf_num
Sourcepub fn set_dynamic_rx_buf_num(&mut self, value: i32) -> &mut Self
pub fn set_dynamic_rx_buf_num(&mut self, value: i32) -> &mut Self
Set the value of dynamic_rx_buf_num
Sourcepub fn init_dynamic_rx_buf_num(self, value: i32) -> Self
pub fn init_dynamic_rx_buf_num(self, value: i32) -> Self
Builder method that sets the value of dynamic_rx_buf_num
. Useful for initializing the message.
Sourcepub fn tx_buf_type(&self) -> &i32
pub fn tx_buf_type(&self) -> &i32
Return a reference to tx_buf_type
Sourcepub fn mut_tx_buf_type(&mut self) -> &mut i32
pub fn mut_tx_buf_type(&mut self) -> &mut i32
Return a mutable reference to tx_buf_type
Sourcepub fn set_tx_buf_type(&mut self, value: i32) -> &mut Self
pub fn set_tx_buf_type(&mut self, value: i32) -> &mut Self
Set the value of tx_buf_type
Sourcepub fn init_tx_buf_type(self, value: i32) -> Self
pub fn init_tx_buf_type(self, value: i32) -> Self
Builder method that sets the value of tx_buf_type
. Useful for initializing the message.
Sourcepub fn static_tx_buf_num(&self) -> &i32
pub fn static_tx_buf_num(&self) -> &i32
Return a reference to static_tx_buf_num
Sourcepub fn mut_static_tx_buf_num(&mut self) -> &mut i32
pub fn mut_static_tx_buf_num(&mut self) -> &mut i32
Return a mutable reference to static_tx_buf_num
Sourcepub fn set_static_tx_buf_num(&mut self, value: i32) -> &mut Self
pub fn set_static_tx_buf_num(&mut self, value: i32) -> &mut Self
Set the value of static_tx_buf_num
Sourcepub fn init_static_tx_buf_num(self, value: i32) -> Self
pub fn init_static_tx_buf_num(self, value: i32) -> Self
Builder method that sets the value of static_tx_buf_num
. Useful for initializing the message.
Sourcepub fn dynamic_tx_buf_num(&self) -> &i32
pub fn dynamic_tx_buf_num(&self) -> &i32
Return a reference to dynamic_tx_buf_num
Sourcepub fn mut_dynamic_tx_buf_num(&mut self) -> &mut i32
pub fn mut_dynamic_tx_buf_num(&mut self) -> &mut i32
Return a mutable reference to dynamic_tx_buf_num
Sourcepub fn set_dynamic_tx_buf_num(&mut self, value: i32) -> &mut Self
pub fn set_dynamic_tx_buf_num(&mut self, value: i32) -> &mut Self
Set the value of dynamic_tx_buf_num
Sourcepub fn init_dynamic_tx_buf_num(self, value: i32) -> Self
pub fn init_dynamic_tx_buf_num(self, value: i32) -> Self
Builder method that sets the value of dynamic_tx_buf_num
. Useful for initializing the message.
Sourcepub fn cache_tx_buf_num(&self) -> &i32
pub fn cache_tx_buf_num(&self) -> &i32
Return a reference to cache_tx_buf_num
Sourcepub fn mut_cache_tx_buf_num(&mut self) -> &mut i32
pub fn mut_cache_tx_buf_num(&mut self) -> &mut i32
Return a mutable reference to cache_tx_buf_num
Sourcepub fn set_cache_tx_buf_num(&mut self, value: i32) -> &mut Self
pub fn set_cache_tx_buf_num(&mut self, value: i32) -> &mut Self
Set the value of cache_tx_buf_num
Sourcepub fn init_cache_tx_buf_num(self, value: i32) -> Self
pub fn init_cache_tx_buf_num(self, value: i32) -> Self
Builder method that sets the value of cache_tx_buf_num
. Useful for initializing the message.
Sourcepub fn csi_enable(&self) -> &i32
pub fn csi_enable(&self) -> &i32
Return a reference to csi_enable
Sourcepub fn mut_csi_enable(&mut self) -> &mut i32
pub fn mut_csi_enable(&mut self) -> &mut i32
Return a mutable reference to csi_enable
Sourcepub fn set_csi_enable(&mut self, value: i32) -> &mut Self
pub fn set_csi_enable(&mut self, value: i32) -> &mut Self
Set the value of csi_enable
Sourcepub fn init_csi_enable(self, value: i32) -> Self
pub fn init_csi_enable(self, value: i32) -> Self
Builder method that sets the value of csi_enable
. Useful for initializing the message.
Sourcepub fn ampdu_rx_enable(&self) -> &i32
pub fn ampdu_rx_enable(&self) -> &i32
Return a reference to ampdu_rx_enable
Sourcepub fn mut_ampdu_rx_enable(&mut self) -> &mut i32
pub fn mut_ampdu_rx_enable(&mut self) -> &mut i32
Return a mutable reference to ampdu_rx_enable
Sourcepub fn set_ampdu_rx_enable(&mut self, value: i32) -> &mut Self
pub fn set_ampdu_rx_enable(&mut self, value: i32) -> &mut Self
Set the value of ampdu_rx_enable
Sourcepub fn init_ampdu_rx_enable(self, value: i32) -> Self
pub fn init_ampdu_rx_enable(self, value: i32) -> Self
Builder method that sets the value of ampdu_rx_enable
. Useful for initializing the message.
Sourcepub fn ampdu_tx_enable(&self) -> &i32
pub fn ampdu_tx_enable(&self) -> &i32
Return a reference to ampdu_tx_enable
Sourcepub fn mut_ampdu_tx_enable(&mut self) -> &mut i32
pub fn mut_ampdu_tx_enable(&mut self) -> &mut i32
Return a mutable reference to ampdu_tx_enable
Sourcepub fn set_ampdu_tx_enable(&mut self, value: i32) -> &mut Self
pub fn set_ampdu_tx_enable(&mut self, value: i32) -> &mut Self
Set the value of ampdu_tx_enable
Sourcepub fn init_ampdu_tx_enable(self, value: i32) -> Self
pub fn init_ampdu_tx_enable(self, value: i32) -> Self
Builder method that sets the value of ampdu_tx_enable
. Useful for initializing the message.
Sourcepub fn amsdu_tx_enable(&self) -> &i32
pub fn amsdu_tx_enable(&self) -> &i32
Return a reference to amsdu_tx_enable
Sourcepub fn mut_amsdu_tx_enable(&mut self) -> &mut i32
pub fn mut_amsdu_tx_enable(&mut self) -> &mut i32
Return a mutable reference to amsdu_tx_enable
Sourcepub fn set_amsdu_tx_enable(&mut self, value: i32) -> &mut Self
pub fn set_amsdu_tx_enable(&mut self, value: i32) -> &mut Self
Set the value of amsdu_tx_enable
Sourcepub fn init_amsdu_tx_enable(self, value: i32) -> Self
pub fn init_amsdu_tx_enable(self, value: i32) -> Self
Builder method that sets the value of amsdu_tx_enable
. Useful for initializing the message.
Sourcepub fn nvs_enable(&self) -> &i32
pub fn nvs_enable(&self) -> &i32
Return a reference to nvs_enable
Sourcepub fn mut_nvs_enable(&mut self) -> &mut i32
pub fn mut_nvs_enable(&mut self) -> &mut i32
Return a mutable reference to nvs_enable
Sourcepub fn set_nvs_enable(&mut self, value: i32) -> &mut Self
pub fn set_nvs_enable(&mut self, value: i32) -> &mut Self
Set the value of nvs_enable
Sourcepub fn init_nvs_enable(self, value: i32) -> Self
pub fn init_nvs_enable(self, value: i32) -> Self
Builder method that sets the value of nvs_enable
. Useful for initializing the message.
Sourcepub fn nano_enable(&self) -> &i32
pub fn nano_enable(&self) -> &i32
Return a reference to nano_enable
Sourcepub fn mut_nano_enable(&mut self) -> &mut i32
pub fn mut_nano_enable(&mut self) -> &mut i32
Return a mutable reference to nano_enable
Sourcepub fn set_nano_enable(&mut self, value: i32) -> &mut Self
pub fn set_nano_enable(&mut self, value: i32) -> &mut Self
Set the value of nano_enable
Sourcepub fn init_nano_enable(self, value: i32) -> Self
pub fn init_nano_enable(self, value: i32) -> Self
Builder method that sets the value of nano_enable
. Useful for initializing the message.
Sourcepub fn mut_rx_ba_win(&mut self) -> &mut i32
pub fn mut_rx_ba_win(&mut self) -> &mut i32
Return a mutable reference to rx_ba_win
Sourcepub fn set_rx_ba_win(&mut self, value: i32) -> &mut Self
pub fn set_rx_ba_win(&mut self, value: i32) -> &mut Self
Set the value of rx_ba_win
Sourcepub fn init_rx_ba_win(self, value: i32) -> Self
pub fn init_rx_ba_win(self, value: i32) -> Self
Builder method that sets the value of rx_ba_win
. Useful for initializing the message.
Sourcepub fn wifi_task_core_id(&self) -> &i32
pub fn wifi_task_core_id(&self) -> &i32
Return a reference to wifi_task_core_id
Sourcepub fn mut_wifi_task_core_id(&mut self) -> &mut i32
pub fn mut_wifi_task_core_id(&mut self) -> &mut i32
Return a mutable reference to wifi_task_core_id
Sourcepub fn set_wifi_task_core_id(&mut self, value: i32) -> &mut Self
pub fn set_wifi_task_core_id(&mut self, value: i32) -> &mut Self
Set the value of wifi_task_core_id
Sourcepub fn init_wifi_task_core_id(self, value: i32) -> Self
pub fn init_wifi_task_core_id(self, value: i32) -> Self
Builder method that sets the value of wifi_task_core_id
. Useful for initializing the message.
Sourcepub fn beacon_max_len(&self) -> &i32
pub fn beacon_max_len(&self) -> &i32
Return a reference to beacon_max_len
Sourcepub fn mut_beacon_max_len(&mut self) -> &mut i32
pub fn mut_beacon_max_len(&mut self) -> &mut i32
Return a mutable reference to beacon_max_len
Sourcepub fn set_beacon_max_len(&mut self, value: i32) -> &mut Self
pub fn set_beacon_max_len(&mut self, value: i32) -> &mut Self
Set the value of beacon_max_len
Sourcepub fn init_beacon_max_len(self, value: i32) -> Self
pub fn init_beacon_max_len(self, value: i32) -> Self
Builder method that sets the value of beacon_max_len
. Useful for initializing the message.
Sourcepub fn mgmt_sbuf_num(&self) -> &i32
pub fn mgmt_sbuf_num(&self) -> &i32
Return a reference to mgmt_sbuf_num
Sourcepub fn mut_mgmt_sbuf_num(&mut self) -> &mut i32
pub fn mut_mgmt_sbuf_num(&mut self) -> &mut i32
Return a mutable reference to mgmt_sbuf_num
Sourcepub fn set_mgmt_sbuf_num(&mut self, value: i32) -> &mut Self
pub fn set_mgmt_sbuf_num(&mut self, value: i32) -> &mut Self
Set the value of mgmt_sbuf_num
Sourcepub fn init_mgmt_sbuf_num(self, value: i32) -> Self
pub fn init_mgmt_sbuf_num(self, value: i32) -> Self
Builder method that sets the value of mgmt_sbuf_num
. Useful for initializing the message.
Sourcepub fn feature_caps(&self) -> &u64
pub fn feature_caps(&self) -> &u64
Return a reference to feature_caps
Sourcepub fn mut_feature_caps(&mut self) -> &mut u64
pub fn mut_feature_caps(&mut self) -> &mut u64
Return a mutable reference to feature_caps
Sourcepub fn set_feature_caps(&mut self, value: u64) -> &mut Self
pub fn set_feature_caps(&mut self, value: u64) -> &mut Self
Set the value of feature_caps
Sourcepub fn init_feature_caps(self, value: u64) -> Self
pub fn init_feature_caps(self, value: u64) -> Self
Builder method that sets the value of feature_caps
. Useful for initializing the message.
Sourcepub fn sta_disconnected_pm(&self) -> &bool
pub fn sta_disconnected_pm(&self) -> &bool
Return a reference to sta_disconnected_pm
Sourcepub fn mut_sta_disconnected_pm(&mut self) -> &mut bool
pub fn mut_sta_disconnected_pm(&mut self) -> &mut bool
Return a mutable reference to sta_disconnected_pm
Sourcepub fn set_sta_disconnected_pm(&mut self, value: bool) -> &mut Self
pub fn set_sta_disconnected_pm(&mut self, value: bool) -> &mut Self
Set the value of sta_disconnected_pm
Sourcepub fn init_sta_disconnected_pm(self, value: bool) -> Self
pub fn init_sta_disconnected_pm(self, value: bool) -> Self
Builder method that sets the value of sta_disconnected_pm
. Useful for initializing the message.
Sourcepub fn espnow_max_encrypt_num(&self) -> &i32
pub fn espnow_max_encrypt_num(&self) -> &i32
Return a reference to espnow_max_encrypt_num
Sourcepub fn mut_espnow_max_encrypt_num(&mut self) -> &mut i32
pub fn mut_espnow_max_encrypt_num(&mut self) -> &mut i32
Return a mutable reference to espnow_max_encrypt_num
Sourcepub fn set_espnow_max_encrypt_num(&mut self, value: i32) -> &mut Self
pub fn set_espnow_max_encrypt_num(&mut self, value: i32) -> &mut Self
Set the value of espnow_max_encrypt_num
Sourcepub fn init_espnow_max_encrypt_num(self, value: i32) -> Self
pub fn init_espnow_max_encrypt_num(self, value: i32) -> Self
Builder method that sets the value of espnow_max_encrypt_num
. Useful for initializing the message.
Sourcepub fn init_magic(self, value: i32) -> Self
pub fn init_magic(self, value: i32) -> Self
Builder method that sets the value of magic
. Useful for initializing the message.
Trait Implementations§
Source§impl Clone for wifi_init_config
impl Clone for wifi_init_config
Source§fn clone(&self) -> wifi_init_config
fn clone(&self) -> wifi_init_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_init_config
impl Debug for wifi_init_config
Source§impl Default for wifi_init_config
impl Default for wifi_init_config
Source§fn default() -> wifi_init_config
fn default() -> wifi_init_config
Source§impl MessageDecode for wifi_init_config
impl MessageDecode for wifi_init_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