pub struct Coroutine {
pub future: Pin<Box<dyn Future<Output = ()> + 'static>>,
}Fields§
§future: Pin<Box<dyn Future<Output = ()> + 'static>>Auto Trait Implementations§
impl !RefUnwindSafe for Coroutine
impl !Send for Coroutine
impl !Sync for Coroutine
impl Unpin for Coroutine
impl !UnwindSafe for Coroutine
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