pub enum AndThenAsyncState<Fut1, Fut2, F> {
First(Fut1, Option<F>),
Second(Fut2),
Done,
}Expand description
Internal enum representing the current state of the chained async future.
Variants§
Auto Trait Implementations§
impl<Fut1, Fut2, F> Freeze for AndThenAsyncState<Fut1, Fut2, F>
impl<Fut1, Fut2, F> RefUnwindSafe for AndThenAsyncState<Fut1, Fut2, F>
impl<Fut1, Fut2, F> Send for AndThenAsyncState<Fut1, Fut2, F>
impl<Fut1, Fut2, F> Sync for AndThenAsyncState<Fut1, Fut2, F>
impl<Fut1, Fut2, F> Unpin for AndThenAsyncState<Fut1, Fut2, F>
impl<Fut1, Fut2, F> UnsafeUnpin for AndThenAsyncState<Fut1, Fut2, F>
impl<Fut1, Fut2, F> UnwindSafe for AndThenAsyncState<Fut1, Fut2, 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