enum State<T, F>{
First(T::Future, F),
Second(F::Output),
Done,
}
Variants§
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T, F> Freeze for State<T, F>where
<T as FilterBase>::Future: Freeze,
F: Freeze,
<F as Func<<T as FilterBase>::Error>>::Output: Freeze,
impl<T, F> RefUnwindSafe for State<T, F>where
<T as FilterBase>::Future: RefUnwindSafe,
F: RefUnwindSafe,
<F as Func<<T as FilterBase>::Error>>::Output: RefUnwindSafe,
impl<T, F> Send for State<T, F>where
F: Send,
impl<T, F> Sync for State<T, F>where
<T as FilterBase>::Future: Sync,
F: Sync,
<F as Func<<T as FilterBase>::Error>>::Output: Sync,
impl<T, F> UnwindSafe for State<T, F>where
<T as FilterBase>::Future: UnwindSafe,
F: UnwindSafe,
<F as Func<<T as FilterBase>::Error>>::Output: 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