wifi_init_config

Struct wifi_init_config 

Source
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

Source

pub fn static_rx_buf_num(&self) -> &i32

Return a reference to static_rx_buf_num

Source

pub fn mut_static_rx_buf_num(&mut self) -> &mut i32

Return a mutable reference to static_rx_buf_num

Source

pub fn set_static_rx_buf_num(&mut self, value: i32) -> &mut Self

Set the value of static_rx_buf_num

Source

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.

Source

pub fn dynamic_rx_buf_num(&self) -> &i32

Return a reference to dynamic_rx_buf_num

Source

pub fn mut_dynamic_rx_buf_num(&mut self) -> &mut i32

Return a mutable reference to dynamic_rx_buf_num

Source

pub fn set_dynamic_rx_buf_num(&mut self, value: i32) -> &mut Self

Set the value of dynamic_rx_buf_num

Source

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.

Source

pub fn tx_buf_type(&self) -> &i32

Return a reference to tx_buf_type

Source

pub fn mut_tx_buf_type(&mut self) -> &mut i32

Return a mutable reference to tx_buf_type

Source

pub fn set_tx_buf_type(&mut self, value: i32) -> &mut Self

Set the value of tx_buf_type

Source

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.

Source

pub fn static_tx_buf_num(&self) -> &i32

Return a reference to static_tx_buf_num

Source

pub fn mut_static_tx_buf_num(&mut self) -> &mut i32

Return a mutable reference to static_tx_buf_num

Source

pub fn set_static_tx_buf_num(&mut self, value: i32) -> &mut Self

Set the value of static_tx_buf_num

Source

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.

Source

pub fn dynamic_tx_buf_num(&self) -> &i32

Return a reference to dynamic_tx_buf_num

Source

pub fn mut_dynamic_tx_buf_num(&mut self) -> &mut i32

Return a mutable reference to dynamic_tx_buf_num

Source

pub fn set_dynamic_tx_buf_num(&mut self, value: i32) -> &mut Self

Set the value of dynamic_tx_buf_num

Source

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.

Source

pub fn cache_tx_buf_num(&self) -> &i32

Return a reference to cache_tx_buf_num

Source

pub fn mut_cache_tx_buf_num(&mut self) -> &mut i32

Return a mutable reference to cache_tx_buf_num

Source

pub fn set_cache_tx_buf_num(&mut self, value: i32) -> &mut Self

Set the value of cache_tx_buf_num

Source

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.

Source

pub fn csi_enable(&self) -> &i32

Return a reference to csi_enable

Source

pub fn mut_csi_enable(&mut self) -> &mut i32

Return a mutable reference to csi_enable

Source

pub fn set_csi_enable(&mut self, value: i32) -> &mut Self

Set the value of csi_enable

Source

pub fn init_csi_enable(self, value: i32) -> Self

Builder method that sets the value of csi_enable. Useful for initializing the message.

Source

pub fn ampdu_rx_enable(&self) -> &i32

Return a reference to ampdu_rx_enable

Source

pub fn mut_ampdu_rx_enable(&mut self) -> &mut i32

Return a mutable reference to ampdu_rx_enable

Source

pub fn set_ampdu_rx_enable(&mut self, value: i32) -> &mut Self

Set the value of ampdu_rx_enable

Source

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.

Source

pub fn ampdu_tx_enable(&self) -> &i32

Return a reference to ampdu_tx_enable

Source

pub fn mut_ampdu_tx_enable(&mut self) -> &mut i32

Return a mutable reference to ampdu_tx_enable

Source

pub fn set_ampdu_tx_enable(&mut self, value: i32) -> &mut Self

Set the value of ampdu_tx_enable

Source

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.

Source

pub fn amsdu_tx_enable(&self) -> &i32

Return a reference to amsdu_tx_enable

Source

pub fn mut_amsdu_tx_enable(&mut self) -> &mut i32

Return a mutable reference to amsdu_tx_enable

Source

pub fn set_amsdu_tx_enable(&mut self, value: i32) -> &mut Self

Set the value of amsdu_tx_enable

Source

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.

Source

pub fn nvs_enable(&self) -> &i32

Return a reference to nvs_enable

Source

pub fn mut_nvs_enable(&mut self) -> &mut i32

Return a mutable reference to nvs_enable

Source

pub fn set_nvs_enable(&mut self, value: i32) -> &mut Self

Set the value of nvs_enable

Source

pub fn init_nvs_enable(self, value: i32) -> Self

Builder method that sets the value of nvs_enable. Useful for initializing the message.

Source

pub fn nano_enable(&self) -> &i32

Return a reference to nano_enable

Source

pub fn mut_nano_enable(&mut self) -> &mut i32

Return a mutable reference to nano_enable

Source

pub fn set_nano_enable(&mut self, value: i32) -> &mut Self

Set the value of nano_enable

Source

pub fn init_nano_enable(self, value: i32) -> Self

Builder method that sets the value of nano_enable. Useful for initializing the message.

Source

pub fn rx_ba_win(&self) -> &i32

Return a reference to rx_ba_win

Source

pub fn mut_rx_ba_win(&mut self) -> &mut i32

Return a mutable reference to rx_ba_win

Source

pub fn set_rx_ba_win(&mut self, value: i32) -> &mut Self

Set the value of rx_ba_win

Source

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.

Source

pub fn wifi_task_core_id(&self) -> &i32

Return a reference to wifi_task_core_id

Source

pub fn mut_wifi_task_core_id(&mut self) -> &mut i32

Return a mutable reference to wifi_task_core_id

Source

pub fn set_wifi_task_core_id(&mut self, value: i32) -> &mut Self

Set the value of wifi_task_core_id

Source

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.

Source

pub fn beacon_max_len(&self) -> &i32

Return a reference to beacon_max_len

Source

pub fn mut_beacon_max_len(&mut self) -> &mut i32

Return a mutable reference to beacon_max_len

Source

pub fn set_beacon_max_len(&mut self, value: i32) -> &mut Self

Set the value of beacon_max_len

Source

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.

Source

pub fn mgmt_sbuf_num(&self) -> &i32

Return a reference to mgmt_sbuf_num

Source

pub fn mut_mgmt_sbuf_num(&mut self) -> &mut i32

Return a mutable reference to mgmt_sbuf_num

Source

pub fn set_mgmt_sbuf_num(&mut self, value: i32) -> &mut Self

Set the value of mgmt_sbuf_num

Source

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.

Source

pub fn feature_caps(&self) -> &u64

Return a reference to feature_caps

Source

pub fn mut_feature_caps(&mut self) -> &mut u64

Return a mutable reference to feature_caps

Source

pub fn set_feature_caps(&mut self, value: u64) -> &mut Self

Set the value of feature_caps

Source

pub fn init_feature_caps(self, value: u64) -> Self

Builder method that sets the value of feature_caps. Useful for initializing the message.

Source

pub fn sta_disconnected_pm(&self) -> &bool

Return a reference to sta_disconnected_pm

Source

pub fn mut_sta_disconnected_pm(&mut self) -> &mut bool

Return a mutable reference to sta_disconnected_pm

Source

pub fn set_sta_disconnected_pm(&mut self, value: bool) -> &mut Self

Set the value of sta_disconnected_pm

Source

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.

Source

pub fn espnow_max_encrypt_num(&self) -> &i32

Return a reference to espnow_max_encrypt_num

Source

pub fn mut_espnow_max_encrypt_num(&mut self) -> &mut i32

Return a mutable reference to espnow_max_encrypt_num

Source

pub fn set_espnow_max_encrypt_num(&mut self, value: i32) -> &mut Self

Set the value of espnow_max_encrypt_num

Source

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.

Source

pub fn magic(&self) -> &i32

Return a reference to magic

Source

pub fn mut_magic(&mut self) -> &mut i32

Return a mutable reference to magic

Source

pub fn set_magic(&mut self, value: i32) -> &mut Self

Set the value of magic

Source

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

Source§

fn clone(&self) -> wifi_init_config

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for wifi_init_config

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for wifi_init_config

Source§

fn default() -> wifi_init_config

Returns the “default value” for a type. Read more
Source§

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>>

Decode an instance of the message from the decoder and merge it into self. Read more
Source§

fn decode_from_bytes( &mut self, bytes: &[u8], ) -> Result<(), DecodeError<Infallible>>

Decode an instance of the message from the provided bytes
Source§

fn decode_len_delimited<R>( &mut self, decoder: &mut PbDecoder<R>, ) -> Result<(), DecodeError<<R as PbRead>::Error>>
where R: PbRead,

Decode an instance of the message from the decoder as a length-delimited record, starting with a length prefix.
Source§

impl MessageEncode for wifi_init_config

Source§

const MAX_SIZE: Option<usize>

Maximum encoded size of the message on the wire. Read more
Source§

fn encode<IMPL_MICROPB_WRITE: PbWrite>( &self, encoder: &mut PbEncoder<IMPL_MICROPB_WRITE>, ) -> Result<(), IMPL_MICROPB_WRITE::Error>

Encode this message using the encoder.
Source§

fn compute_size(&self) -> usize

Compute the size of this message on the wire.
Source§

fn encode_len_delimited<W>( &self, encoder: &mut PbEncoder<W>, ) -> Result<(), <W as PbWrite>::Error>
where W: PbWrite,

Encode this message as a length-delimited record, starting with a length prefix.
Source§

impl PartialEq for wifi_init_config

Source§

fn eq(&self, other: &wifi_init_config) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl StructuralPartialEq for wifi_init_config

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.