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