enum StateProj<'pin, T, F>where
T: TryFuture,
F: Func<T::Ok>,
F::Output: TryFuture + Send,
<F::Output as TryFuture>::Error: CombineRejection<T::Error>,
State<T, F>: 'pin,{
First(Pin<&'pin mut T>, &'pin mut F),
Second(Pin<&'pin mut F::Output>),
Done,
}
Variants§
Auto Trait Implementations§
impl<'pin, T, F> Freeze for StateProj<'pin, T, F>
impl<'pin, T, F> RefUnwindSafe for StateProj<'pin, T, F>where
<<F as Func<<T as TryFuture>::Ok>>::Output as TryFuture>::Error: Sized,
F: RefUnwindSafe,
T: RefUnwindSafe,
<F as Func<<T as TryFuture>::Ok>>::Output: RefUnwindSafe,
impl<'pin, T, F> Send for StateProj<'pin, T, F>
impl<'pin, T, F> Sync for StateProj<'pin, T, F>
impl<'pin, T, F> Unpin for StateProj<'pin, T, F>
impl<'pin, T, F> !UnwindSafe for StateProj<'pin, T, F>
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