#[non_exhaustive]pub enum QueueAfterError {
TimeOverflow,
}
Expand description
Error returned by DispatchQueue::after
.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
TimeOverflow
The given timeout value will result in an overflow when converting to dispatch time.
Trait Implementations§
Source§impl Clone for QueueAfterError
impl Clone for QueueAfterError
Source§fn clone(&self) -> QueueAfterError
fn clone(&self) -> QueueAfterError
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 QueueAfterError
impl Debug for QueueAfterError
Source§impl Ord for QueueAfterError
impl Ord for QueueAfterError
Source§fn cmp(&self, other: &QueueAfterError) -> Ordering
fn cmp(&self, other: &QueueAfterError) -> 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 QueueAfterError
impl PartialEq for QueueAfterError
Source§impl PartialOrd for QueueAfterError
impl PartialOrd for QueueAfterError
impl Copy for QueueAfterError
impl Eq for QueueAfterError
impl StructuralPartialEq for QueueAfterError
Auto Trait Implementations§
impl Freeze for QueueAfterError
impl RefUnwindSafe for QueueAfterError
impl Send for QueueAfterError
impl Sync for QueueAfterError
impl Unpin for QueueAfterError
impl UnwindSafe for QueueAfterError
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