[][src]Struct failure::Backtrace

pub struct Backtrace { /* fields omitted */ }

A Backtrace.

This is an opaque wrapper around the backtrace provided by libbacktrace. A variety of optimizations have been performed to avoid unnecessary or ill-advised work:

Even with these optimizations, including a backtrace in your failure may not be appropriate to your use case. You are not required to put a backtrace in a custom Fail type.

Methods

impl Backtrace
[src]

Constructs a new backtrace. This will only create a real backtrace if the crate is compiled in std mode and the RUST_BACKTRACE environmental variable is activated.

Trait Implementations

impl Default for Backtrace
[src]

Returns the "default value" for a type. Read more

impl Display for Backtrace
[src]

Formats the value using the given formatter. Read more

impl Debug for Backtrace
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Backtrace

impl Sync for Backtrace

Blanket Implementations

impl<T> ToString for T where
    T: Display + ?Sized
[src]

Converts the given value to a String. Read more

impl<T, U> Into for T where
    U: From<T>, 
[src]

Performs the conversion.

impl<T> From for T
[src]

Performs the conversion.

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl<T> Borrow for T where
    T: ?Sized
[src]

Immutably borrows from an owned value. Read more

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

Mutably borrows from an owned value. Read more

impl<T> Any for T where
    T: 'static + ?Sized
[src]

🔬 This is a nightly-only experimental API. (get_type_id)

this method will likely be replaced by an associated static

Gets the TypeId of self. Read more