[][src]Struct next_gen::prelude::Coroutine

pub struct Coroutine<'item_slot, Item: 'item_slot> { /* fields omitted */ }

Methods

impl<'slot_item, Item> Coroutine<'slot_item, Item>[src]

pub fn _yield(&self, value: Item) -> impl Future<Output = ()> + '_[src]

Auto Trait Implementations

impl<'item_slot, Item> !Send for Coroutine<'item_slot, Item>

impl<'item_slot, Item> !Sync for Coroutine<'item_slot, Item>

impl<'item_slot, Item> Unpin for Coroutine<'item_slot, Item>

impl<'item_slot, Item> !UnwindSafe for Coroutine<'item_slot, Item>

impl<'item_slot, Item> !RefUnwindSafe for Coroutine<'item_slot, Item>

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]