fn thread_kind_to_receipt(thread_kind: &str) -> Result<ReceiptThread>Expand description
Reverse of ReceiptThread::as_str: parse a stored thread tag into the
enum. Empty string maps to Unthreaded; "main" to Main; all other
values must be valid event IDs.