Enum color_backtrace::Verbosity [−][src]
Defines how verbose the backtrace is supposed to be.
Variants
Print a small message including the panic payload and the panic location.
Everything in Minimal and additionally print a backtrace.
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]
fn cmp(&self, other: &Verbosity) -> Ordering[src]
#[must_use]pub fn max(self, other: Self) -> Self1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self1.50.0[src]
impl PartialEq<Verbosity> for Verbosity[src]
fn eq(&self, other: &Verbosity) -> bool[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl PartialOrd<Verbosity> for Verbosity[src]
fn partial_cmp(&self, other: &Verbosity) -> Option<Ordering>[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]pub fn le(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]pub fn gt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]pub fn ge(&self, other: &Rhs) -> bool1.0.0[src]
impl StructuralEq for Verbosity[src]
impl StructuralPartialEq for Verbosity[src]
Auto Trait Implementations
impl RefUnwindSafe for Verbosity
impl Send for Verbosity
impl Sync for Verbosity
impl Unpin for Verbosity
impl UnwindSafe for Verbosity
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,