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
sourceimpl Clone for QueuePriority
impl Clone for QueuePriority
sourcefn clone(&self) -> QueuePriority
fn clone(&self) -> QueuePriority
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for QueuePriority
impl Debug for QueuePriority
sourceimpl Hash for QueuePriority
impl Hash for QueuePriority
sourceimpl PartialEq<QueuePriority> for QueuePriority
impl PartialEq<QueuePriority> for QueuePriority
sourcefn eq(&self, other: &QueuePriority) -> bool
fn eq(&self, other: &QueuePriority) -> bool
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more