Struct color_eyre::Handler[][src]

pub struct Handler { /* fields omitted */ }

A custom handler type for eyre::Report which provides colorful error reports and tracing-error support.

Details

This type is not intended to be used directly, prefer using it via the color_eyre::Report and color_eyre::Result type aliases.

Implementations

impl Handler[src]

pub fn backtrace(&self) -> Option<&Backtrace>[src]

Return a reference to the captured Backtrace type

pub fn span_trace(&self) -> Option<&SpanTrace>[src]

This is supported on crate feature capture-spantrace only.

Return a reference to the captured SpanTrace type

Trait Implementations

impl Debug for Handler[src]

impl EyreHandler for Handler[src]

Auto Trait Implementations

impl !RefUnwindSafe for Handler

impl Send for Handler

impl Sync for Handler

impl Unpin for Handler

impl !UnwindSafe for Handler

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> Instrument for T[src]

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

impl<D> OwoColorize for D[src]

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.