Enum dispatch::QueuePriority
source · pub enum QueuePriority {
High,
Default,
Low,
Background,
}
Expand description
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§
source§impl Clone for QueuePriority
impl Clone for QueuePriority
source§fn clone(&self) -> QueuePriority
fn clone(&self) -> QueuePriority
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for QueuePriority
impl Debug for QueuePriority
source§impl Hash for QueuePriority
impl Hash for QueuePriority
source§impl PartialEq<QueuePriority> for QueuePriority
impl PartialEq<QueuePriority> for QueuePriority
source§fn eq(&self, other: &QueuePriority) -> bool
fn eq(&self, other: &QueuePriority) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for QueuePriority
Auto Trait Implementations§
impl RefUnwindSafe for QueuePriority
impl Send for QueuePriority
impl Sync for QueuePriority
impl Unpin for QueuePriority
impl UnwindSafe for QueuePriority
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more