#[non_exhaustive]pub enum WaitError {
TimeOverflow,
Timeout,
}Expand description
Wait error.
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.
Timeout
The operation timed out.
Trait Implementations§
Source§impl Ord for WaitError
impl Ord for WaitError
Source§impl PartialOrd for WaitError
impl PartialOrd for WaitError
impl Copy for WaitError
impl Eq for WaitError
impl StructuralPartialEq for WaitError
Auto Trait Implementations§
impl Freeze for WaitError
impl RefUnwindSafe for WaitError
impl Send for WaitError
impl Sync for WaitError
impl Unpin for WaitError
impl UnwindSafe for WaitError
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