Function tokio::runtime::task::harness::cancel_task

source ยท
fn cancel_task<T: Future, S: Schedule>(core: &Core<T, S>)
Expand description

Cancels the task and store the appropriate error in the stage field.