pub struct Yield<I>(/* private fields */);
Expand description
Control handle to yield items to the coroutine.
Implementations§
Auto Trait Implementations§
impl<I> Freeze for Yield<I>
impl<I> !RefUnwindSafe for Yield<I>
impl<I> Send for Yield<I>where
I: Send,
impl<I> Sync for Yield<I>where
I: Send,
impl<I> Unpin for Yield<I>
impl<I> !UnwindSafe for Yield<I>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more