enum State<T: Filter, U: Filter> {
First(T::Future, U),
Second(Option<T::Error>, U::Future),
Done,
}
Variants§
Implementations§
Trait Implementations§
impl<'pin, T: Filter, U: Filter> Unpin for State<T, U>where
PinnedFieldsOf<__State<'pin, T, U>>: Unpin,
Auto Trait Implementations§
impl<T, U> Freeze for State<T, U>where
<T as FilterBase>::Future: Freeze,
U: Freeze,
<U as FilterBase>::Future: Freeze,
<T as FilterBase>::Error: Freeze,
impl<T, U> RefUnwindSafe for State<T, U>where
<T as FilterBase>::Future: RefUnwindSafe,
U: RefUnwindSafe,
<U as FilterBase>::Future: RefUnwindSafe,
<T as FilterBase>::Error: RefUnwindSafe,
impl<T, U> Send for State<T, U>where
U: Send,
impl<T, U> Sync for State<T, U>
impl<T, U> UnwindSafe for State<T, U>where
<T as FilterBase>::Future: UnwindSafe,
U: UnwindSafe,
<U as FilterBase>::Future: UnwindSafe,
<T as FilterBase>::Error: 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