enum StateProj<'pin, T, F>where
T: Filter,
F: Func<T::Error>,
F::Output: TryFuture<Ok = T::Extract> + Send,
State<T, F>: 'pin,{
First(Pin<&'pin mut T::Future>, &'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: RefUnwindSafe,
<T as FilterBase>::Future: RefUnwindSafe,
<F as Func<<T as FilterBase>::Error>>::Output: RefUnwindSafe,
impl<'pin, T, F> Send for StateProj<'pin, T, F>where
F: Send,
impl<'pin, T, F> Sync for StateProj<'pin, T, F>where
F: Sync,
<T as FilterBase>::Future: Sync,
<F as Func<<T as FilterBase>::Error>>::Output: Sync,
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