pub struct CoroEndOperation<'c> { /* private fields */ }
Expand description
A coro.end
operation. Marks the end of the coroutine in the suspend block.
The async.coro.end
marks the point where a coroutine needs to return
control back to the caller if it is not an initial invocation of the
coroutine. It the start part of the coroutine is is no-op.
Implementations§
Trait Implementations§
source§impl<'c> From<CoroEndOperation<'c>> for Operation<'c>
impl<'c> From<CoroEndOperation<'c>> for Operation<'c>
source§fn from(operation: CoroEndOperation<'c>) -> Self
fn from(operation: CoroEndOperation<'c>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'c> RefUnwindSafe for CoroEndOperation<'c>
impl<'c> !Send for CoroEndOperation<'c>
impl<'c> !Sync for CoroEndOperation<'c>
impl<'c> Unpin for CoroEndOperation<'c>
impl<'c> UnwindSafe for CoroEndOperation<'c>
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