pub struct ReceiveInfo {
pub src_address: [u8; 6],
pub dst_address: [u8; 6],
pub rx_control: RxControlInfo,
}Available on crate features
esp-now and unstable only.Expand description
Information about a received packet.
§Stability
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
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: RxControlInfoRx 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 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 ReceiveInfo
impl Debug for ReceiveInfo
Source§impl Format for ReceiveInfo
impl Format for ReceiveInfo
Source§impl Hash for ReceiveInfo
impl Hash for ReceiveInfo
Source§impl PartialEq for ReceiveInfo
impl PartialEq for ReceiveInfo
impl Copy for ReceiveInfo
impl Eq for ReceiveInfo
impl StructuralPartialEq 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 UnsafeUnpin 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, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)