Function std::panic::set_backtrace_style
source · [−]pub fn set_backtrace_style(style: BacktraceStyle)
Expand description
Configure whether the default panic hook will capture and display a backtrace.
The default value for this setting may be set by the RUST_BACKTRACE
environment variable; see the details in get_backtrace_style
.