pub(crate) enum PollState<I, T> {
Item(I, T),
Pending,
NoneBefore,
Terminated,
}Expand description
A helper equivalent to Poll<PollResult<T, I>> but easier to match
Variants§
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<I, T> Freeze for PollState<I, T>
impl<I, T> RefUnwindSafe for PollState<I, T>where
I: RefUnwindSafe,
T: RefUnwindSafe,
impl<I, T> Send for PollState<I, T>
impl<I, T> Sync for PollState<I, T>
impl<I, T> Unpin for PollState<I, T>
impl<I, T> UnwindSafe for PollState<I, T>where
I: UnwindSafe,
T: 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