Enum dispatch::QueueAttribute
source · pub enum QueueAttribute {
Serial,
Concurrent,
}
Expand description
The type of a dispatch queue.
Variants§
Serial
The queue executes blocks serially in FIFO order.
Concurrent
The queue executes blocks concurrently.
Trait Implementations§
source§impl Clone for QueueAttribute
impl Clone for QueueAttribute
source§fn clone(&self) -> QueueAttribute
fn clone(&self) -> QueueAttribute
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 QueueAttribute
impl Debug for QueueAttribute
source§impl Hash for QueueAttribute
impl Hash for QueueAttribute
source§impl PartialEq<QueueAttribute> for QueueAttribute
impl PartialEq<QueueAttribute> for QueueAttribute
source§fn eq(&self, other: &QueueAttribute) -> bool
fn eq(&self, other: &QueueAttribute) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for QueueAttribute
Auto Trait Implementations§
impl RefUnwindSafe for QueueAttribute
impl Send for QueueAttribute
impl Sync for QueueAttribute
impl Unpin for QueueAttribute
impl UnwindSafe for QueueAttribute
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