InitConfig

Struct InitConfig 

Source
pub struct InitConfig {
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 InitConfig

Source

pub fn new_promiscuous() -> Self

Suitable for passive use

Source

pub fn to_bytes(&self, buf: &mut [u8]) -> usize

Trait Implementations§

Source§

impl Clone for InitConfig

Source§

fn clone(&self) -> InitConfig

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 Default for InitConfig

Source§

fn default() -> Self

Suitable for use as an AP (Station)

Source§

impl Format for InitConfig

Source§

fn format(&self, f: Formatter<'_>)

Writes the defmt representation of self to fmt.

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.