Struct Collect

struct Collect<T> { ... }
where
    T: Body + ?Sized

Future that resolves into a Collected.

Implementations

impl<'__pin, T> Unpin for Collect<T>

impl<F> IntoFuture for Collect<T>

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

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

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

impl<T> Any for Collect<T>

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for Collect<T>

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

impl<T> BorrowMut for Collect<T>

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

impl<T> Freeze for Collect<T>

impl<T> From for Collect<T>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> RefUnwindSafe for Collect<T>

impl<T> Send for Collect<T>

impl<T> Sync for Collect<T>

impl<T> UnsafeUnpin for Collect<T>

impl<T> UnwindSafe for Collect<T>

impl<T, U> Into for Collect<T>

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 Collect<T>

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

impl<T, U> TryInto for Collect<T>

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

impl<T: Body + ?Sized> Future for Collect<T>

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