#[repr(transparent)]pub struct DispatchQoS(pub c_uint);Expand description
Quality-of-service classes that specify the priorities for executing tasks.
Tuple Fields§
§0: c_uintImplementations§
Source§impl DispatchQoS
impl DispatchQoS
Sourcepub const UserInteractive: Self
pub const UserInteractive: Self
Quality of service for user-interactive tasks.
Sourcepub const UserInitiated: Self
pub const UserInitiated: Self
Quality of service for tasks that prevent the user from actively using your app.
Sourcepub const Background: Self
pub const Background: Self
Quality of service for maintenance or cleanup tasks.
Sourcepub const Unspecified: Self
pub const Unspecified: Self
The absence of a Quality of service.
Trait Implementations§
Source§impl Clone for DispatchQoS
impl Clone for DispatchQoS
Source§fn clone(&self) -> DispatchQoS
fn clone(&self) -> DispatchQoS
Returns a duplicate 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 DispatchQoS
impl Debug for DispatchQoS
Source§impl Encode for DispatchQoS
impl Encode for DispatchQoS
Source§impl Hash for DispatchQoS
impl Hash for DispatchQoS
Source§impl Ord for DispatchQoS
impl Ord for DispatchQoS
Source§fn cmp(&self, other: &DispatchQoS) -> Ordering
fn cmp(&self, other: &DispatchQoS) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for DispatchQoS
impl PartialEq for DispatchQoS
Source§impl PartialOrd for DispatchQoS
impl PartialOrd for DispatchQoS
Source§impl RefEncode for DispatchQoS
impl RefEncode for DispatchQoS
Source§const ENCODING_REF: Encoding
const ENCODING_REF: Encoding
The Objective-C type-encoding for a reference of this type. Read more
impl Copy for DispatchQoS
impl Eq for DispatchQoS
impl StructuralPartialEq for DispatchQoS
Auto Trait Implementations§
impl Freeze for DispatchQoS
impl RefUnwindSafe for DispatchQoS
impl Send for DispatchQoS
impl Sync for DispatchQoS
impl Unpin for DispatchQoS
impl UnwindSafe for DispatchQoS
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> EncodeArgument for Twhere
T: Encode,
impl<T> EncodeArgument for Twhere
T: Encode,
Source§const ENCODING_ARGUMENT: Encoding = T::ENCODING
const ENCODING_ARGUMENT: Encoding = T::ENCODING
The Objective-C type-encoding for this type.
Source§impl<T> EncodeReturn for Twhere
T: Encode,
impl<T> EncodeReturn for Twhere
T: Encode,
Source§const ENCODING_RETURN: Encoding = T::ENCODING
const ENCODING_RETURN: Encoding = T::ENCODING
The Objective-C type-encoding for this type.