fn panic_record(
thread: &str,
payload: &(dyn Any + Send),
location: Option<&Location<'_>>,
) -> PanicRecordExpand description
The record one panic writes: the thread, the payload as a string, the
file and line, and the backtrace when RUST_BACKTRACE is set.