Skip to main content

thread_kind_to_receipt

Function thread_kind_to_receipt 

Source
fn thread_kind_to_receipt(thread_kind: &str) -> ReceiptThread
Expand 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.