Skip to main content

current_task

Function current_task 

Source
pub fn current_task() -> Option<Arc<Task>>
Expand description

Convenience: clone of the current task’s Arc<Task>, if any.