pub fn with_label<K, V, F, Ret>(k: K, v: V, f: F) -> RetExpand description
Set the label for the specified key to the specified value while the given function is running.
All labels are thread-local: setting a label on one thread has no effect on its value on any other thread.