Expand description
Support for cross-process panic handling.
This module provides a version of the standard library’s
panic info object (PanicInfo
) which can hold information
about why a panic happened so it can be sent across processes.
To capture panics instead of crashing the panic hook needs to
be installed (init_panic_hook
) and afterwards the panicking
function needs to be invoked via catch_panic
.
This requires the panic-support
feature.
Structs§
Functions§
- catch_
panic - Invokes a function and captures the panic.
- init_
panic_ hook - Initializes the panic hook for IPC usage.