Function bitflags::__core::panic::take_handler [] [src]

pub fn take_handler() -> Box<Fn(&PanicInfo) + 'static + Send + Sync>
Unstable (panic_handler)

: awaiting feedback

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.