Struct FromCoroutine

struct FromCoroutine<G>(_)

An iterator over the values yielded by an underlying coroutine.

This struct is created by the iter::from_coroutine() function. See its documentation for more.

Implementations

impl<G> Debug for FromCoroutine<G>

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

impl<G> Freeze for FromCoroutine<G>

impl<G> RefUnwindSafe for FromCoroutine<G>

impl<G> Send for FromCoroutine<G>

impl<G> Sync for FromCoroutine<G>

impl<G> Unpin for FromCoroutine<G>

impl<G> UnsafeUnpin for FromCoroutine<G>

impl<G> UnwindSafe for FromCoroutine<G>

impl<G: $crate::clone::Clone> Clone for FromCoroutine<G>

fn clone(self: &Self) -> FromCoroutine<G>

impl<G: Coroutine<Return = ()> + Unpin> Iterator for FromCoroutine<G>

fn next(self: &mut Self) -> Option<<Self as >::Item>

impl<I> IntoIterator for FromCoroutine<G>

fn into_iter(self: Self) -> I

impl<T> Any for FromCoroutine<G>

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for FromCoroutine<G>

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

impl<T> BorrowMut for FromCoroutine<G>

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

impl<T> CloneToUninit for FromCoroutine<G>

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

impl<T> From for FromCoroutine<G>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into for FromCoroutine<G>

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 FromCoroutine<G>

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

impl<T, U> TryInto for FromCoroutine<G>

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