pub enum RequestPoll<O: Operation, C, QE, CE> {
Pending(Pending<O>),
Ready(Completion<O, C, CE>),
QueueError {
pending: Pending<O>,
error: QueueError<QE>,
},
Stale(StaleOperation<O>),
NeedsReset(Pending<O>),
}Expand description
Result of synchronously polling one typed request.
Variants§
Pending(Pending<O>)
No matching completion has arrived yet.
Ready(Completion<O, C, CE>)
Matching request reached a terminal result.
QueueError
Used-ring access failed; the pending token remains valid for retry.
Stale(StaleOperation<O>)
Queue reset invalidated this operation.
NeedsReset(Pending<O>)
Queue health requires reset before more completion processing.
Auto Trait Implementations§
impl<O, C, QE, CE> Freeze for RequestPoll<O, C, QE, CE>
impl<O, C, QE, CE> RefUnwindSafe for RequestPoll<O, C, QE, CE>where
O: RefUnwindSafe,
<O as Operation>::Output: RefUnwindSafe,
C: RefUnwindSafe,
QE: RefUnwindSafe,
CE: RefUnwindSafe,
impl<O, C, QE, CE> Send for RequestPoll<O, C, QE, CE>
impl<O, C, QE, CE> Sync for RequestPoll<O, C, QE, CE>
impl<O, C, QE, CE> Unpin for RequestPoll<O, C, QE, CE>
impl<O, C, QE, CE> UnsafeUnpin for RequestPoll<O, C, QE, CE>where
O: UnsafeUnpin,
<O as Operation>::Output: UnsafeUnpin,
C: UnsafeUnpin,
QE: UnsafeUnpin,
CE: UnsafeUnpin,
impl<O, C, QE, CE> UnwindSafe for RequestPoll<O, C, QE, CE>where
O: UnwindSafe,
<O as Operation>::Output: UnwindSafe,
C: UnwindSafe,
QE: UnwindSafe,
CE: UnwindSafe,
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