Function std::panic::take_handler
[−]
[src]
pub fn take_handler() -> Box<Fn(&PanicInfo) + 'static + Sync + Send>
Unregisters the current panic handler, returning it.
If no custom handler is registered, the default handler will be returned.
Panics
Panics if called from a panicking thread.