pub enum WaitKind {
Blocked,
Immediate,
Late,
Parked,
}Expand description
How one wait ended.
Variants§
Blocked
Park::Block: the port’s blocking wait.
Immediate
The first query found the work done.
Late
The query right after the sleep found the work done (the sleep overshot).
Parked
The park saw the work finish.
Trait Implementations§
impl Copy for WaitKind
impl Eq for WaitKind
impl StructuralPartialEq for WaitKind
Auto Trait Implementations§
impl Forget for WaitKind
impl Freeze for WaitKind
impl Move for WaitKind
impl RefUnwindSafe for WaitKind
impl Send for WaitKind
impl Sync for WaitKind
impl Unpin for WaitKind
impl UnsafeUnpin for WaitKind
impl UnwindSafe for WaitKind
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