pub fn create_panic_handler(
    printer: BacktracePrinter
) -> Box<dyn Fn(&PanicInfo<'_>) + Sync + Send + 'static>
👎Deprecated since 0.4.0: Use BacktracePrinter::into_panic_handler() instead.