pub fn suspend_on_cancellable<F: Future>(future: F) -> F::OutputExpand description
Like suspend_on, but drops this future in place if the driver cancels
the coroutine. The future’s destructor runs on the executor’s stack.
pub fn suspend_on_cancellable<F: Future>(future: F) -> F::OutputLike suspend_on, but drops this future in place if the driver cancels
the coroutine. The future’s destructor runs on the executor’s stack.