Function std::task::with_task_name[src]

pub fn with_task_name<U>(blk: |Option<&str>| -> U) -> U

Read the name of the current task.