Struct FromIter

struct FromIter<I> { ... }

An async iterator that was created from iterator.

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

Implementations

impl<I> Freeze for FromIter<I>

impl<I> IntoAsyncIterator for FromIter<I>

fn into_async_iter(self: Self) -> <I as IntoAsyncIterator>::IntoAsyncIter

impl<I> RefUnwindSafe for FromIter<I>

impl<I> Send for FromIter<I>

impl<I> Sync for FromIter<I>

impl<I> Unpin for FromIter<I>

impl<I> UnsafeUnpin for FromIter<I>

impl<I> UnwindSafe for FromIter<I>

impl<I: $crate::clone::Clone> Clone for FromIter<I>

fn clone(self: &Self) -> FromIter<I>

impl<I: $crate::fmt::Debug> Debug for FromIter<I>

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

impl<I: Iterator> AsyncIterator for FromIter<I>

fn poll_next(self: Pin<&mut Self>, _cx: &mut Context<'_>) -> Poll<Option<<Self as >::Item>>
fn size_hint(self: &Self) -> (usize, Option<usize>)

impl<T> Any for FromIter<I>

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for FromIter<I>

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

impl<T> BorrowMut for FromIter<I>

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

impl<T> CloneToUninit for FromIter<I>

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl<T> From for FromIter<I>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into for FromIter<I>

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 FromIter<I>

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

impl<T, U> TryInto for FromIter<I>

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