Enum dispatch::QueuePriority [] [src]

pub enum QueuePriority {
    High,
    Default,
    Low,
    Background,
}

The priority of a global concurrent queue.

Variants

The queue is scheduled for execution before any default priority or low priority queue.

The queue is scheduled for execution after all high priority queues, but before any low priority queues.

The queue is scheduled for execution after all default priority and high priority queues.

The queue is scheduled for execution after all high priority queues have been scheduled. The system runs items on a thread whose priority is set for background status and any disk I/O is throttled to minimize the impact on the system.