pub fn cancel_timer_for_current_task(timer: &Timer) -> bool
Cancels a timer owned by the task currently being polled by the active worker.