#[repr(C)]pub struct wifi_tx_info_t {
pub des_addr: *mut u8,
pub src_addr: *mut u8,
pub ifidx: wifi_interface_t,
pub data: *mut u8,
pub data_len: u8,
pub rate: wifi_phy_rate_t,
pub tx_status: wifi_tx_status_t,
}Expand description
@brief Information of wifi sending data
Fields§
§des_addr: *mut u8< The address of the receive device
src_addr: *mut u8< The address of the sending device
ifidx: wifi_interface_t< Interface of sending 80211 tx data
data: *mut u8< The data for 80211 tx, start from the MAC header
data_len: u8< The frame body length for 80211 tx, excluding the MAC header
rate: wifi_phy_rate_t< Data rate
tx_status: wifi_tx_status_t< Status of sending 80211 tx data
Trait Implementations§
Source§impl Clone for wifi_tx_info_t
impl Clone for wifi_tx_info_t
Source§fn clone(&self) -> wifi_tx_info_t
fn clone(&self) -> wifi_tx_info_t
Returns a duplicate of the value. Read more
1.0.0§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_tx_info_t
impl Debug for wifi_tx_info_t
Source§impl Default for wifi_tx_info_t
impl Default for wifi_tx_info_t
impl Copy for wifi_tx_info_t
Auto Trait Implementations§
impl Freeze for wifi_tx_info_t
impl RefUnwindSafe for wifi_tx_info_t
impl !Send for wifi_tx_info_t
impl !Sync for wifi_tx_info_t
impl Unpin for wifi_tx_info_t
impl UnsafeUnpin for wifi_tx_info_t
impl UnwindSafe for wifi_tx_info_t
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)