Skip to main content

panic_record

Function panic_record 

Source
fn panic_record(
    thread: &str,
    payload: &(dyn Any + Send),
    location: Option<&Location<'_>>,
) -> PanicRecord
Expand 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.