Module priority_queue

Module priority_queue 

Source
Expand description

Priority Queue for Download Scheduling

Implements a priority-based queue for managing concurrent downloads. Downloads are scheduled based on priority (Critical > High > Normal > Low), with FIFO ordering within the same priority level.

Re-exports§

pub use crate::protocol::DownloadPriority;

Structs§

PriorityPermit
A permit that allows a download to proceed When dropped, releases the slot back to the queue
PriorityQueue
Priority-based download queue
PriorityQueueStats
Statistics about the priority queue