pub enum Poll<E, C> {
Timeout {
requested: Duration,
},
Submit(E),
Wait(E),
Cancel(C),
}Expand description
Exact wait, submit, and cancellation failures retained by a live ring.
Variants§
Trait Implementations§
impl<E: Copy, C: Copy> Copy for Poll<E, C>
impl<E: Eq, C: Eq> Eq for Poll<E, C>
impl<E: PartialEq, C: PartialEq> StructuralPartialEq for Poll<E, C>
Auto Trait Implementations§
impl<E, C> Freeze for Poll<E, C>
impl<E, C> RefUnwindSafe for Poll<E, C>where
E: RefUnwindSafe,
C: RefUnwindSafe,
impl<E, C> Send for Poll<E, C>
impl<E, C> Sync for Poll<E, C>
impl<E, C> Unpin for Poll<E, C>
impl<E, C> UnsafeUnpin for Poll<E, C>where
E: UnsafeUnpin,
C: UnsafeUnpin,
impl<E, C> UnwindSafe for Poll<E, C>where
E: UnwindSafe,
C: 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