Enum dispatch::QueuePriority [−][src]
pub enum QueuePriority { High, Default, Low, Background, }
The priority of a global concurrent queue.
Variants
High
The queue is scheduled for execution before any default priority or low priority queue.
Default
The queue is scheduled for execution after all high priority queues, but before any low priority queues.
Low
The queue is scheduled for execution after all default priority and high priority queues.
Background
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.
Trait Implementations
impl Clone for QueuePriority
[src]
impl Clone for QueuePriority
fn clone(&self) -> QueuePriority
[src]
fn clone(&self) -> QueuePriority
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for QueuePriority
[src]
impl Debug for QueuePriority
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Hash for QueuePriority
[src]
impl Hash for QueuePriority
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl PartialEq for QueuePriority
[src]
impl PartialEq for QueuePriority
Auto Trait Implementations
impl Send for QueuePriority
impl Send for QueuePriority
impl Sync for QueuePriority
impl Sync for QueuePriority