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
sourceimpl Clone for QueueAttribute
impl Clone for QueueAttribute
sourcefn clone(&self) -> QueueAttribute
fn clone(&self) -> QueueAttribute
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 QueueAttribute
impl Debug for QueueAttribute
sourceimpl Hash for QueueAttribute
impl Hash for QueueAttribute
sourceimpl PartialEq<QueueAttribute> for QueueAttribute
impl PartialEq<QueueAttribute> for QueueAttribute
sourcefn eq(&self, other: &QueueAttribute) -> bool
fn eq(&self, other: &QueueAttribute) -> bool
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
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