On this page
Enum std::backtrace::BacktraceStatus
#[non_exhaustive]pub enum BacktraceStatus {
Unsupported,
Disabled,
Captured,
}
The current status of a backtrace, indicating whether it was captured or whether it is empty for some other reason.
Variants (Non-exhaustive)
Unsupported
Capturing a backtrace is not supported, likely because it’s not implemented for the current platform.
Disabled
Capturing a backtrace has been disabled through either the RUST_LIB_BACKTRACE
or RUST_BACKTRACE
environment variables.
Captured
A backtrace has been captured and the Backtrace
should print reasonable information when rendered.
Trait Implementations
impl Debug for BacktraceStatus
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl PartialEq for BacktraceStatus
fn eq(&self, other: &BacktraceStatus) -> bool
self
and other
values to be equal, and is used by ==
.
fn ne(&self, other: &Rhs) -> bool
!=
. The default implementation is almost always sufficient, and should not be overridden without very good reason.
impl Eq for BacktraceStatus
impl StructuralEq for BacktraceStatus
impl StructuralPartialEq for BacktraceStatus
Auto Trait Implementations
impl RefUnwindSafe for BacktraceStatus
impl Send for BacktraceStatus
impl Sync for BacktraceStatus
impl Unpin for BacktraceStatus
impl UnwindSafe for BacktraceStatus
Blanket Implementations
impl<T> Any for T
where
T: 'static + ?Sized,
impl<T> Borrow<T> for T
where
T: ?Sized,
impl<T> BorrowMut<T> for T
where
T: ?Sized,
impl<T> From<T> for T
fn from(t: T) -> T
Returns the argument unchanged.
impl<T, U> Into<U> for T
where
U: From<T>,
fn into(self) -> U
Calls U::from(self)
.
That is, this conversion is whatever the implementation of From<T> for U
chooses to do.
impl<T, U> TryFrom<U> for T
where
U: Into<T>,
type Error = Infallible
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto<U> for T
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/std/backtrace/enum.BacktraceStatus.html