Function panic_ext::downcast_payload
source · pub fn downcast_payload<'a>(
payload: &'a (dyn Any + Send + 'static),
) -> &'a dyn MessageExpand description
Retrieves panic message from the dynamic payload
Note that while it accepts any type, it is designed to work with panic’s payload