tokio_unix_ipc

Module panic

Source
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§