pub struct FromIter<I> { /* private fields */ }
🔬This is a nightly-only experimental API. (async_iter_from_iter #81798)
Expand description

An async iterator that was created from iterator.

This async iterator is created by the from_iter function. See it documentation for more.

Trait Implementations

🔬This is a nightly-only experimental API. (async_iterator #79024)

The type of items yielded by the async iterator.

🔬This is a nightly-only experimental API. (async_iterator #79024)

Attempt to pull out the next value of this async iterator, registering the current task for wakeup if the value is not yet available, and returning None if the async iterator is exhausted. Read more

🔬This is a nightly-only experimental API. (async_iterator #79024)

Returns the bounds on the remaining length of the async iterator. Read more

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.