Expand description
Utilities for dealing with panics (and unlocking better debugging).
Important: be careful about installing panic handlers. Do it only once per thread and pick your function carefully.
Structs§
- Unwind
- The captured information about an unwinding panic.
Functions§
- chain_
panic_ hook - Sets the thread local panic handler to record the unwind information and then execute the existing hook.
- dont_
panic - Run a future such that panics are converted into Unwinds.
- replace_
panic_ hook - Sets the thread local panic handler to record the unwind information.