fn thread_kind_to_receipt(thread_kind: &str) -> ReceiptThreadExpand description
Reverse of ReceiptThread::as_str: parse a stored thread tag into the
enum. Empty string maps to Unthreaded; "main" to Main; anything
starting with $ to Thread(event_id) if parseable.