[−][src]Function eff::context::get_task_context
pub fn get_task_context<'a>() -> &'a Context
Get the thread-local task context used by the generator-backed effectful computation
Panics
Panics if the thread-local task is not set