pub type RuntimeStacktraceStringCallback = unsafe extern "C" fn(emit_stacktrace_string: unsafe extern "C" fn(*const c_char));Expand description
Function signature for runtime stacktrace string collection callbacks
This callback is invoked during crash handling in a signal context, so it must be signal-safe:
§Parameters
emit_stacktrace_string: Function to call for complete stacktrace string (takes C string)
§Safety
The callback function is marked unsafe because:
- It receives function pointers that take raw pointers as parameters
- All C strings passed must be null-terminated and remain valid for the call duration