Enum BacktraceStatus

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_BACKTRACE or RUST_BACKTRACE environment variables.

Captured

A backtrace has been captured and the Backtrace should print reasonable information when rendered.

Implementations

impl Debug for BacktraceStatus

fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result

impl Eq for BacktraceStatus

impl Freeze for BacktraceStatus

impl PartialEq for BacktraceStatus

fn eq(self: &Self, other: &BacktraceStatus) -> bool

impl RefUnwindSafe for BacktraceStatus

impl Send for BacktraceStatus

impl StructuralPartialEq for BacktraceStatus

impl Sync for BacktraceStatus

impl Unpin for BacktraceStatus

impl UnwindSafe for BacktraceStatus

impl<T> Any for BacktraceStatus

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for BacktraceStatus

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for BacktraceStatus

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> From for BacktraceStatus

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into for BacktraceStatus

fn into(self: 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 for BacktraceStatus

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for BacktraceStatus

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>