Function simics::imp::get_panic_message

source ยท
pub(crate) fn get_panic_message(payload: &(dyn Any + Send)) -> Option<&str>
Expand description

Attempt to produce a message from a borrowed dyn Any. Note that care must be taken when calling this to avoid a Box<dyn Any> being coerced to a dyn Any itself.