Struct Flatten

struct Flatten<F> { ... }
where
    F: Future

Future for the flatten method.

Implementations

impl<'__pin, F> Unpin for Flatten<F>

impl<F> Debug for Flatten<F>

fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result

impl<F> Freeze for Flatten<F>

impl<F> FusedFuture for Flatten<F>

fn is_terminated(self: &Self) -> bool

impl<F> Future for Flatten<F>

fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<<Self as >::Output>

impl<F> IntoFuture for Flatten<F>

fn into_future(self: Self) -> <F as IntoFuture>::IntoFuture

impl<F> RefUnwindSafe for Flatten<F>

impl<F> Send for Flatten<F>

impl<F> Sync for Flatten<F>

impl<F> UnsafeUnpin for Flatten<F>

impl<F> UnwindSafe for Flatten<F>

impl<F, T, E> TryFuture for Flatten<F>

fn try_poll(self: Pin<&mut F>, cx: &mut Context<'_>) -> Poll<<F as Future>::Output>

impl<Fut> TryFutureExt for Flatten<F>

impl<T> Any for Flatten<F>

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for Flatten<F>

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for Flatten<F>

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> From for Flatten<F>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> FutureExt for Flatten<F>

impl<T, U> Into for Flatten<F>

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for Flatten<F>

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for Flatten<F>

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>