Struct IntoFuture

struct IntoFuture<Fut> { ... }

Future for the into_future method.

Implementations

impl<'__pin, Fut> Unpin for IntoFuture<Fut>

impl<F> IntoFuture for IntoFuture<Fut>

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

impl<F, T, E> TryFuture for IntoFuture<Fut>

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

impl<Fut> Freeze for IntoFuture<Fut>

impl<Fut> RefUnwindSafe for IntoFuture<Fut>

impl<Fut> Send for IntoFuture<Fut>

impl<Fut> Sync for IntoFuture<Fut>

impl<Fut> TryFutureExt for IntoFuture<Fut>

impl<Fut> UnsafeUnpin for IntoFuture<Fut>

impl<Fut> UnwindSafe for IntoFuture<Fut>

impl<Fut: $crate::fmt::Debug> Debug for IntoFuture<Fut>

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

impl<Fut: TryFuture + FusedFuture> FusedFuture for IntoFuture<Fut>

fn is_terminated(self: &Self) -> bool

impl<Fut: TryFuture> Future for IntoFuture<Fut>

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

impl<T> Any for IntoFuture<Fut>

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for IntoFuture<Fut>

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

impl<T> BorrowMut for IntoFuture<Fut>

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

impl<T> From for IntoFuture<Fut>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> FutureExt for IntoFuture<Fut>

impl<T, U> Into for IntoFuture<Fut>

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 IntoFuture<Fut>

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

impl<T, U> TryInto for IntoFuture<Fut>

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