Skip to main content

panic_text

Function panic_text 

Source
pub fn panic_text(payload: &(dyn Any + Send)) -> &str
Expand description

The text of a panic payload: the message of a &str or String payload, and a fixed placeholder for any other type.