pub struct ReceiveInfo {
pub src_address: [u8; 6],
pub dst_address: [u8; 6],
pub rx_control: RxControlInfo,
}
Expand description
Information about a received packet.
Fields§
§src_address: [u8; 6]
The source address of the received packet.
dst_address: [u8; 6]
The destination address of the received packet.
rx_control: RxControlInfo
Rx control info of ESP-NOW packet.
Trait Implementations§
Source§impl Clone for ReceiveInfo
impl Clone for ReceiveInfo
Source§fn clone(&self) -> ReceiveInfo
fn clone(&self) -> ReceiveInfo
Returns a copy 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 ReceiveInfo
impl Debug for ReceiveInfo
impl Copy for ReceiveInfo
Auto Trait Implementations§
impl Freeze for ReceiveInfo
impl RefUnwindSafe for ReceiveInfo
impl Send for ReceiveInfo
impl Sync for ReceiveInfo
impl Unpin for ReceiveInfo
impl UnwindSafe for ReceiveInfo
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, dst: *mut u8)
unsafe fn clone_to_uninit(&self, dst: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)