Enum color_backtrace::Verbosity[][src]

pub enum Verbosity {
    Minimal,
    Medium,
    Full,
}

Defines how verbose the backtrace is supposed to be.

Variants

Minimal

Print a small message including the panic payload and the panic location.

Medium

Everything in Minimal and additionally print a backtrace.

Full

Everything in Medium plus source snippets for all backtrace locations.

Implementations

impl Verbosity[src]

pub fn from_env() -> Self[src]

Get the verbosity level from RUST_BACKTRACE env variable.

pub fn lib_from_env() -> Self[src]

Get the verbosity level from RUST_LIB_BACKTRACE env variable, falling back to the RUST_BACKTRACE.

Trait Implementations

impl Clone for Verbosity[src]

impl Copy for Verbosity[src]

impl Debug for Verbosity[src]

impl Eq for Verbosity[src]

impl Ord for Verbosity[src]

impl PartialEq<Verbosity> for Verbosity[src]

impl PartialOrd<Verbosity> for Verbosity[src]

impl StructuralEq for Verbosity[src]

impl StructuralPartialEq for Verbosity[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.