Struct Collect

struct Collect<St, C> { ... }

Future for the collect method.

Implementations

impl<'__pin, St, C> Unpin for Collect<St, C>

impl<F> IntoFuture for Collect<St, C>

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

impl<St, C> Freeze for Collect<St, C>

impl<St, C> FusedFuture for Collect<St, C>

fn is_terminated(self: &Self) -> bool

impl<St, C> Future for Collect<St, C>

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

impl<St, C> RefUnwindSafe for Collect<St, C>

impl<St, C> Send for Collect<St, C>

impl<St, C> Sync for Collect<St, C>

impl<St, C> UnsafeUnpin for Collect<St, C>

impl<St, C> UnwindSafe for Collect<St, C>

impl<St: $crate::fmt::Debug, C: $crate::fmt::Debug> Debug for Collect<St, C>

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

impl<T> Any for Collect<St, C>

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for Collect<St, C>

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

impl<T> BorrowMut for Collect<St, C>

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

impl<T> From for Collect<St, C>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> FutureExt for Collect<St, C>

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

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<St, C>

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

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

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