parent
aeb5067967
commit
121fab0396
@ -118,12 +118,15 @@ pub struct Backtrace {
|
|||||||
pub enum BacktraceStatus {
|
pub enum BacktraceStatus {
|
||||||
/// Capturing a backtrace is not supported, likely because it's not
|
/// Capturing a backtrace is not supported, likely because it's not
|
||||||
/// implemented for the current platform.
|
/// implemented for the current platform.
|
||||||
|
#[stable(feature = "backtrace", since = "1.65.0")]
|
||||||
Unsupported,
|
Unsupported,
|
||||||
/// Capturing a backtrace has been disabled through either the
|
/// Capturing a backtrace has been disabled through either the
|
||||||
/// `RUST_LIB_BACKTRACE` or `RUST_BACKTRACE` environment variables.
|
/// `RUST_LIB_BACKTRACE` or `RUST_BACKTRACE` environment variables.
|
||||||
|
#[stable(feature = "backtrace", since = "1.65.0")]
|
||||||
Disabled,
|
Disabled,
|
||||||
/// A backtrace has been captured and the `Backtrace` should print
|
/// A backtrace has been captured and the `Backtrace` should print
|
||||||
/// reasonable information when rendered.
|
/// reasonable information when rendered.
|
||||||
|
#[stable(feature = "backtrace", since = "1.65.0")]
|
||||||
Captured,
|
Captured,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user