pub struct wifi_event_action_tx_status {
pub ifx: i32,
pub context: u32,
pub da: Vec<u8, 6>,
pub status: u32,
}
Fields§
§ifx: i32
§context: u32
§da: Vec<u8, 6>
§status: u32
Implementations§
Source§impl wifi_event_action_tx_status
impl wifi_event_action_tx_status
Sourcepub fn init_ifx(self, value: i32) -> Self
pub fn init_ifx(self, value: i32) -> Self
Builder method that sets the value of ifx
. Useful for initializing the message.
Sourcepub fn mut_context(&mut self) -> &mut u32
pub fn mut_context(&mut self) -> &mut u32
Return a mutable reference to context
Sourcepub fn set_context(&mut self, value: u32) -> &mut Self
pub fn set_context(&mut self, value: u32) -> &mut Self
Set the value of context
Sourcepub fn init_context(self, value: u32) -> Self
pub fn init_context(self, value: u32) -> Self
Builder method that sets the value of context
. Useful for initializing the message.
Sourcepub fn init_da(self, value: Vec<u8, 6>) -> Self
pub fn init_da(self, value: Vec<u8, 6>) -> Self
Builder method that sets the value of da
. Useful for initializing the message.
Sourcepub fn mut_status(&mut self) -> &mut u32
pub fn mut_status(&mut self) -> &mut u32
Return a mutable reference to status
Sourcepub fn set_status(&mut self, value: u32) -> &mut Self
pub fn set_status(&mut self, value: u32) -> &mut Self
Set the value of status
Sourcepub fn init_status(self, value: u32) -> Self
pub fn init_status(self, value: u32) -> Self
Builder method that sets the value of status
. Useful for initializing the message.
Trait Implementations§
Source§impl Clone for wifi_event_action_tx_status
impl Clone for wifi_event_action_tx_status
Source§fn clone(&self) -> wifi_event_action_tx_status
fn clone(&self) -> wifi_event_action_tx_status
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for wifi_event_action_tx_status
impl Debug for wifi_event_action_tx_status
Source§impl Default for wifi_event_action_tx_status
impl Default for wifi_event_action_tx_status
Source§fn default() -> wifi_event_action_tx_status
fn default() -> wifi_event_action_tx_status
Returns the “default value” for a type. Read more
Source§impl MessageDecode for wifi_event_action_tx_status
impl MessageDecode for wifi_event_action_tx_status
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>>
Decode an instance of the message from the decoder and merge it into
self
. Read moreSource§fn decode_from_bytes(
&mut self,
bytes: &[u8],
) -> Result<(), DecodeError<Infallible>>
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,
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_event_action_tx_status
impl MessageEncode for wifi_event_action_tx_status
impl StructuralPartialEq for wifi_event_action_tx_status
Auto Trait Implementations§
impl Freeze for wifi_event_action_tx_status
impl RefUnwindSafe for wifi_event_action_tx_status
impl Send for wifi_event_action_tx_status
impl Sync for wifi_event_action_tx_status
impl Unpin for wifi_event_action_tx_status
impl UnwindSafe for wifi_event_action_tx_status
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more