pub enum TxPriority {
ImmediateAck,
Forward,
Retry,
Application,
}Expand description
Priority class assigned to entries in the TxQueue.
The transmit queue services entries in priority order (lowest rank first) so that time-sensitive control traffic is never delayed by a backlog of application sends. Within the same priority class, entries are served in FIFO order by sequence number.
Priority levels from highest to lowest:
ImmediateAck(rank 0) — MAC ACK frames generated in response to a received unicast or blind-unicast with ACK-requested. Must be sent as quickly as possible so the original sender’s retransmit timer does not expire.Forward(rank 1) — frames being forwarded by the repeater. Prompt forwarding feeds the sender’s forwarding-confirmation window, so delays here can trigger unnecessary retransmissions at the source.Retry(rank 2) — retransmissions of unacknowledged ACK-requested sends. These have already been delayed by a full forwarding-confirmation window and need to get out before the final ACK deadline expires.Application(rank 3) — new application-originated frames (queue_broadcast,queue_unicast,queue_multicast, etc.). Lowest priority; yields to all control traffic.
Variants§
ImmediateAck
Immediate transport ACK.
Forward
Receive-triggered forwarding.
Retry
Retransmission after missed confirmation.
Application
Application-originated send.
Trait Implementations§
Source§impl Clone for TxPriority
impl Clone for TxPriority
Source§fn clone(&self) -> TxPriority
fn clone(&self) -> TxPriority
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 TxPriority
impl Debug for TxPriority
Source§impl PartialEq for TxPriority
impl PartialEq for TxPriority
impl Copy for TxPriority
impl Eq for TxPriority
impl StructuralPartialEq for TxPriority
Auto Trait Implementations§
impl Freeze for TxPriority
impl RefUnwindSafe for TxPriority
impl Send for TxPriority
impl Sync for TxPriority
impl Unpin for TxPriority
impl UnwindSafe for TxPriority
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)