ConstantsΒ§
- CAPTURE_
BUF π
FunctionsΒ§
- custom_
panic_ πhook - get_
location π - install_
panic_ πhook - Installs a custom panic hook that will divert panic output to a thread-local capture buffer, but only for threads that have a capture buffer set.
- payload_
as_ πstr - FIXME(Zalathar): Replace with
PanicHookInfo::payload_as_str
when thatβs stable in beta. - rust_
backtrace_ πfull - set_
capture_ πbuf - take_
capture_ πbuf - trim_
backtrace π - On stable, short backtraces are only available to the default panic hook, so if we want something similar we have to resort to string processing.
Type AliasesΒ§
- Capture
Buf π - Panic
Hook π