pub struct SendReceipt(pub u32);Expand description
Opaque tracking token returned for ACK-requested transmissions.
When Mac::queue_unicast or
Mac::queue_blind_unicast is called with
options.ack_requested = true, the coordinator allocates a SendReceipt from the
identity slot’s internal sequence counter and returns it wrapped in Some(...).
The application stores this token and watches for it to appear in a future MAC event
callback — either confirming delivery (MAC ACK received and verified) or reporting
failure (all retransmit attempts exhausted without a valid ACK).
Receipts are unique within the lifetime of an IdentitySlot
(wrapping after ~4 billion sends). They are not meaningful across reboots or after
the identity slot is removed.
Tuple Fields§
§0: u32Trait Implementations§
Source§impl Clone for SendReceipt
impl Clone for SendReceipt
Source§fn clone(&self) -> SendReceipt
fn clone(&self) -> SendReceipt
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 SendReceipt
impl Debug for SendReceipt
Source§impl Hash for SendReceipt
impl Hash for SendReceipt
Source§impl PartialEq for SendReceipt
impl PartialEq for SendReceipt
impl Copy for SendReceipt
impl Eq for SendReceipt
impl StructuralPartialEq for SendReceipt
Auto Trait Implementations§
impl Freeze for SendReceipt
impl RefUnwindSafe for SendReceipt
impl Send for SendReceipt
impl Sync for SendReceipt
impl Unpin for SendReceipt
impl UnwindSafe for SendReceipt
Blanket Implementations§
§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)