axtask

Function current

Source
pub fn current() -> CurrentTask
Available on crate feature multitask only.
Expand description

Gets the current task.

ยงPanics

Panics if the current task is not initialized.