Enum BacktraceStatus
#[non_exhaustive]
pub enum BacktraceStatus
The current status of a backtrace, indicating whether it was captured or whether it is empty for some other reason.
Variants
-
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_BACKTRACEorRUST_BACKTRACEenvironment variables.-
Captured A backtrace has been captured and the
Backtraceshould print reasonable information when rendered.
Trait Implementations
impl Debug for BacktraceStatus
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for BacktraceStatus
fn assert_fields_are_eq(&self)
impl PartialEq for BacktraceStatus
fn eq(&self, other: &BacktraceStatus) -> bool
impl StructuralPartialEq for BacktraceStatus
Auto Trait Implementations
impl Freeze for BacktraceStatus
impl RefUnwindSafe for BacktraceStatus
impl Send for BacktraceStatus
impl Sync for BacktraceStatus
impl Unpin for BacktraceStatus
impl UnsafeUnpin for BacktraceStatus
impl UnwindSafe for BacktraceStatus
Blanket Implementations
impl<T> Any for BacktraceStatus
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for BacktraceStatus
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for BacktraceStatus
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> From<T> for BacktraceStatus
fn from(t: T) -> TReturns the argument unchanged.
impl<T> SizeHint for BacktraceStatus
where
T: ?Sized,
fn lower_bound(&self) -> usizefn upper_bound(&self) -> Option<usize>
impl<T> SizedTypeProperties for BacktraceStatus
impl<T, U> Into<U> for BacktraceStatus
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for BacktraceStatus
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 BacktraceStatus
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>