wifi_pkt_rx_ctrl

Struct wifi_pkt_rx_ctrl 

Source
pub struct wifi_pkt_rx_ctrl {
Show 19 fields pub rssi: i32, pub rate: u32, pub sig_mode: u32, pub mcs: u32, pub cwb: u32, pub smoothing: u32, pub not_sounding: u32, pub aggregation: u32, pub stbc: u32, pub fec_coding: u32, pub sgi: u32, pub noise_floor: i32, pub ampdu_cnt: u32, pub channel: u32, pub secondary_channel: u32, pub timestamp: u32, pub ant: u32, pub sig_len: u32, pub rx_state: u32,
}

Fields§

§rssi: i32§rate: u32§sig_mode: u32§mcs: u32§cwb: u32§smoothing: u32§not_sounding: u32§aggregation: u32§stbc: u32§fec_coding: u32§sgi: u32§noise_floor: i32§ampdu_cnt: u32§channel: u32§secondary_channel: u32§timestamp: u32§ant: u32§sig_len: u32§rx_state: u32

Implementations§

Source§

impl wifi_pkt_rx_ctrl

Source

pub fn rssi(&self) -> &i32

Return a reference to rssi

Source

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

Return a mutable reference to rssi

Source

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

Set the value of rssi

Source

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

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

Source

pub fn rate(&self) -> &u32

Return a reference to rate

Source

pub fn mut_rate(&mut self) -> &mut u32

Return a mutable reference to rate

Source

pub fn set_rate(&mut self, value: u32) -> &mut Self

Set the value of rate

Source

pub fn init_rate(self, value: u32) -> Self

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

Source

pub fn sig_mode(&self) -> &u32

Return a reference to sig_mode

Source

pub fn mut_sig_mode(&mut self) -> &mut u32

Return a mutable reference to sig_mode

Source

pub fn set_sig_mode(&mut self, value: u32) -> &mut Self

Set the value of sig_mode

Source

pub fn init_sig_mode(self, value: u32) -> Self

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

Source

pub fn mcs(&self) -> &u32

Return a reference to mcs

Source

pub fn mut_mcs(&mut self) -> &mut u32

Return a mutable reference to mcs

Source

pub fn set_mcs(&mut self, value: u32) -> &mut Self

Set the value of mcs

Source

pub fn init_mcs(self, value: u32) -> Self

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

Source

pub fn cwb(&self) -> &u32

Return a reference to cwb

Source

pub fn mut_cwb(&mut self) -> &mut u32

Return a mutable reference to cwb

Source

pub fn set_cwb(&mut self, value: u32) -> &mut Self

Set the value of cwb

Source

pub fn init_cwb(self, value: u32) -> Self

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

Source

pub fn smoothing(&self) -> &u32

Return a reference to smoothing

Source

pub fn mut_smoothing(&mut self) -> &mut u32

Return a mutable reference to smoothing

Source

pub fn set_smoothing(&mut self, value: u32) -> &mut Self

Set the value of smoothing

Source

pub fn init_smoothing(self, value: u32) -> Self

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

Source

pub fn not_sounding(&self) -> &u32

Return a reference to not_sounding

Source

pub fn mut_not_sounding(&mut self) -> &mut u32

Return a mutable reference to not_sounding

Source

pub fn set_not_sounding(&mut self, value: u32) -> &mut Self

Set the value of not_sounding

Source

pub fn init_not_sounding(self, value: u32) -> Self

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

Source

pub fn aggregation(&self) -> &u32

Return a reference to aggregation

Source

pub fn mut_aggregation(&mut self) -> &mut u32

Return a mutable reference to aggregation

Source

pub fn set_aggregation(&mut self, value: u32) -> &mut Self

Set the value of aggregation

Source

pub fn init_aggregation(self, value: u32) -> Self

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

Source

pub fn stbc(&self) -> &u32

Return a reference to stbc

Source

pub fn mut_stbc(&mut self) -> &mut u32

Return a mutable reference to stbc

Source

pub fn set_stbc(&mut self, value: u32) -> &mut Self

Set the value of stbc

Source

pub fn init_stbc(self, value: u32) -> Self

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

Source

pub fn fec_coding(&self) -> &u32

Return a reference to fec_coding

Source

pub fn mut_fec_coding(&mut self) -> &mut u32

Return a mutable reference to fec_coding

Source

pub fn set_fec_coding(&mut self, value: u32) -> &mut Self

Set the value of fec_coding

Source

pub fn init_fec_coding(self, value: u32) -> Self

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

Source

pub fn sgi(&self) -> &u32

Return a reference to sgi

Source

pub fn mut_sgi(&mut self) -> &mut u32

Return a mutable reference to sgi

Source

pub fn set_sgi(&mut self, value: u32) -> &mut Self

Set the value of sgi

Source

pub fn init_sgi(self, value: u32) -> Self

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

Source

pub fn noise_floor(&self) -> &i32

Return a reference to noise_floor

Source

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

Return a mutable reference to noise_floor

Source

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

Set the value of noise_floor

Source

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

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

Source

pub fn ampdu_cnt(&self) -> &u32

Return a reference to ampdu_cnt

Source

pub fn mut_ampdu_cnt(&mut self) -> &mut u32

Return a mutable reference to ampdu_cnt

Source

pub fn set_ampdu_cnt(&mut self, value: u32) -> &mut Self

Set the value of ampdu_cnt

Source

pub fn init_ampdu_cnt(self, value: u32) -> Self

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

Source

pub fn channel(&self) -> &u32

Return a reference to channel

Source

pub fn mut_channel(&mut self) -> &mut u32

Return a mutable reference to channel

Source

pub fn set_channel(&mut self, value: u32) -> &mut Self

Set the value of channel

Source

pub fn init_channel(self, value: u32) -> Self

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

Source

pub fn secondary_channel(&self) -> &u32

Return a reference to secondary_channel

Source

pub fn mut_secondary_channel(&mut self) -> &mut u32

Return a mutable reference to secondary_channel

Source

pub fn set_secondary_channel(&mut self, value: u32) -> &mut Self

Set the value of secondary_channel

Source

pub fn init_secondary_channel(self, value: u32) -> Self

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

Source

pub fn timestamp(&self) -> &u32

Return a reference to timestamp

Source

pub fn mut_timestamp(&mut self) -> &mut u32

Return a mutable reference to timestamp

Source

pub fn set_timestamp(&mut self, value: u32) -> &mut Self

Set the value of timestamp

Source

pub fn init_timestamp(self, value: u32) -> Self

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

Source

pub fn ant(&self) -> &u32

Return a reference to ant

Source

pub fn mut_ant(&mut self) -> &mut u32

Return a mutable reference to ant

Source

pub fn set_ant(&mut self, value: u32) -> &mut Self

Set the value of ant

Source

pub fn init_ant(self, value: u32) -> Self

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

Source

pub fn sig_len(&self) -> &u32

Return a reference to sig_len

Source

pub fn mut_sig_len(&mut self) -> &mut u32

Return a mutable reference to sig_len

Source

pub fn set_sig_len(&mut self, value: u32) -> &mut Self

Set the value of sig_len

Source

pub fn init_sig_len(self, value: u32) -> Self

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

Source

pub fn rx_state(&self) -> &u32

Return a reference to rx_state

Source

pub fn mut_rx_state(&mut self) -> &mut u32

Return a mutable reference to rx_state

Source

pub fn set_rx_state(&mut self, value: u32) -> &mut Self

Set the value of rx_state

Source

pub fn init_rx_state(self, value: u32) -> Self

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

Trait Implementations§

Source§

impl Clone for wifi_pkt_rx_ctrl

Source§

fn clone(&self) -> wifi_pkt_rx_ctrl

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_pkt_rx_ctrl

Source§

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

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

impl Default for wifi_pkt_rx_ctrl

Source§

fn default() -> wifi_pkt_rx_ctrl

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

impl MessageDecode for wifi_pkt_rx_ctrl

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_pkt_rx_ctrl

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_pkt_rx_ctrl

Source§

fn eq(&self, other: &wifi_pkt_rx_ctrl) -> 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_pkt_rx_ctrl

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.