Enum std::backtrace::BacktraceStatus [−][src]
#[non_exhaustive] pub enum BacktraceStatus { Unsupported, Disabled, Captured, }
Expand description
回溯的当前状态,指示它是否已捕获或由于其他原因而为空。
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
不支持捕获回溯,这可能是因为当前平台尚未实现。
通过 RUST_LIB_BACKTRACE
或 RUST_BACKTRACE
环境变量已禁用捕获回溯。
回溯已被捕获,并且 Backtrace
在呈现时应打印合理的信息。