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.
🔬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)
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
🔬This is a nightly-only experimental API. (async_iterator
#79024)
Returns the bounds on the remaining length of the async iterator. Read more
🔬This is a nightly-only experimental API. (clone_to_uninit
#126799)
Performs copy-assignment from self
to dst
. Read more
Returns the argument unchanged.
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.
🔬This is a nightly-only experimental API. (async_iterator
#79024)
The type of the item yielded by the iterator
🔬This is a nightly-only experimental API. (async_iterator
#79024)
The type of the resulting iterator
🔬This is a nightly-only experimental API. (async_iterator
#79024)
Converts self
into an async iterator
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
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.