FromIter in std::async_iter - Rust (original) (raw)

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.

Source§

Source§

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

The type of items yielded by the async iterator.

Source§

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

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

Source§

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

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

Source§

Source§

Source§

Source§

Source§

Source§

Source§

Source§

🔬This is a nightly-only experimental API. (clone_to_uninit #126799)

Performs copy-assignment from self to dst. Read more

Source§

Source§

Returns the argument unchanged.

Source§

Source§

Calls U::from(self).

That is, this conversion is whatever the implementation of[From](../convert/trait.From.html "trait std::convert::From")<T> for U chooses to do.

Source§

Source§

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

The type of the item yielded by the iterator

Source§

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

The type of the resulting iterator

Source§

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

Converts self into an async iterator

Source§

Source§

The resulting type after obtaining ownership.

Source§

Creates owned data from borrowed data, usually by cloning. Read more

Source§

Uses borrowed data to replace owned data, usually by cloning. Read more

Source§

Source§

The type returned in the event of a conversion error.

Source§

Performs the conversion.

Source§

Source§

The type returned in the event of a conversion error.

Source§

Performs the conversion.