[−][src]Function futures::task::is_in_task
pub fn is_in_task() -> bool
Return whether the caller is running in a task (and so can use task_local!).
pub fn is_in_task() -> bool
Return whether the caller is running in a task (and so can use task_local!).