Trait wasmtime_environ::__core::async_iter::IntoAsyncIterator
source · pub trait IntoAsyncIterator {
type Item;
type IntoAsyncIter: AsyncIterator<Item = Self::Item>;
// Required method
fn into_async_iter(self) -> Self::IntoAsyncIter;
}
🔬This is a nightly-only experimental API. (
async_iterator
)Expand description
Convert something into an async iterator
Required Associated Types§
sourcetype Item
🔬This is a nightly-only experimental API. (async_iterator
)
type Item
async_iterator
)The type of the item yielded by the iterator
sourcetype IntoAsyncIter: AsyncIterator<Item = Self::Item>
🔬This is a nightly-only experimental API. (async_iterator
)
type IntoAsyncIter: AsyncIterator<Item = Self::Item>
async_iterator
)The type of the resulting iterator
Required Methods§
sourcefn into_async_iter(self) -> Self::IntoAsyncIter
🔬This is a nightly-only experimental API. (async_iterator
)
fn into_async_iter(self) -> Self::IntoAsyncIter
async_iterator
)Converts self
into an async iterator