#[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.
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.
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 StructuralPartialEq for BacktraceStatus
impl Freeze for BacktraceStatus
impl RefUnwindSafe for BacktraceStatus
impl Send for BacktraceStatus
impl Sync for BacktraceStatus
impl Unpin for BacktraceStatus
impl UnwindSafe for BacktraceStatus
impl<T> Any for Twhere
T: 'static + ?Sized,impl<T> Borrow<T> for Twhere
T: ?Sized,impl<T> BorrowMut<T> for Twhere
T: ?Sized,impl<T> From<T> for T
fn from(t: T) -> T
Returns the argument unchanged.
impl<T, U> Into<U> for Twhere
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 Twhere
U: Into<T>,type Error = Infallible
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto<U> for Twhere
U: TryFrom<T>,
© 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