[−][src]Struct color_eyre::Handler
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
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]
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,
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<D> OwoColorize for D
[src]
fn fg<C>(&'a self) -> FgColorDisplay<'a, C, Self> where
C: Color,
[src]
C: Color,
fn bg<C>(&'a self) -> BgColorDisplay<'a, C, Self> where
C: Color,
[src]
C: Color,
fn bold(&'a self) -> BoldDisplay<'a, Self>
[src]
fn dimmed(&'a self) -> DimDisplay<'a, Self>
[src]
fn italic(&'a self) -> ItalicDisplay<'a, Self>
[src]
fn underline(&'a self) -> UnderlineDisplay<'a, Self>
[src]
fn blink(&'a self) -> BlinkDisplay<'a, Self>
[src]
fn blink_fast(&'a self) -> BlinkFastDisplay<'a, Self>
[src]
fn reversed(&'a self) -> ReversedDisplay<'a, Self>
[src]
fn hidden(&'a self) -> HiddenDisplay<'a, Self>
[src]
fn strikethrough(&'a self) -> StrikeThroughDisplay<'a, Self>
[src]
fn black(&'a self) -> FgColorDisplay<'a, Black, Self>
[src]
fn on_black(&'a self) -> BgColorDisplay<'a, Black, Self>
[src]
fn red(&'a self) -> FgColorDisplay<'a, Red, Self>
[src]
fn on_red(&'a self) -> BgColorDisplay<'a, Red, Self>
[src]
fn green(&'a self) -> FgColorDisplay<'a, Green, Self>
[src]
fn on_green(&'a self) -> BgColorDisplay<'a, Green, Self>
[src]
fn yellow(&'a self) -> FgColorDisplay<'a, Yellow, Self>
[src]
fn on_yellow(&'a self) -> BgColorDisplay<'a, Yellow, Self>
[src]
fn blue(&'a self) -> FgColorDisplay<'a, Blue, Self>
[src]
fn on_blue(&'a self) -> BgColorDisplay<'a, Blue, Self>
[src]
fn magenta(&'a self) -> FgColorDisplay<'a, Magenta, Self>
[src]
fn on_magenta(&'a self) -> BgColorDisplay<'a, Magenta, Self>
[src]
fn purple(&'a self) -> FgColorDisplay<'a, Magenta, Self>
[src]
fn on_purple(&'a self) -> BgColorDisplay<'a, Magenta, Self>
[src]
fn cyan(&'a self) -> FgColorDisplay<'a, Cyan, Self>
[src]
fn on_cyan(&'a self) -> BgColorDisplay<'a, Cyan, Self>
[src]
fn white(&'a self) -> FgColorDisplay<'a, White, Self>
[src]
fn on_white(&'a self) -> BgColorDisplay<'a, White, Self>
[src]
fn bright_black(&'a self) -> FgColorDisplay<'a, BrightBlack, Self>
[src]
fn on_bright_black(&'a self) -> BgColorDisplay<'a, BrightBlack, Self>
[src]
fn bright_red(&'a self) -> FgColorDisplay<'a, BrightRed, Self>
[src]
fn on_bright_red(&'a self) -> BgColorDisplay<'a, BrightRed, Self>
[src]
fn bright_green(&'a self) -> FgColorDisplay<'a, BrightGreen, Self>
[src]
fn on_bright_green(&'a self) -> BgColorDisplay<'a, BrightGreen, Self>
[src]
fn bright_yellow(&'a self) -> FgColorDisplay<'a, BrightYellow, Self>
[src]
fn on_bright_yellow(&'a self) -> BgColorDisplay<'a, BrightYellow, Self>
[src]
fn bright_blue(&'a self) -> FgColorDisplay<'a, BrightBlue, Self>
[src]
fn on_bright_blue(&'a self) -> BgColorDisplay<'a, BrightBlue, Self>
[src]
fn bright_magenta(&'a self) -> FgColorDisplay<'a, BrightMagenta, Self>
[src]
fn on_bright_magenta(&'a self) -> BgColorDisplay<'a, BrightMagenta, Self>
[src]
fn bright_purple(&'a self) -> FgColorDisplay<'a, BrightMagenta, Self>
[src]
fn on_bright_purple(&'a self) -> BgColorDisplay<'a, BrightMagenta, Self>
[src]
fn bright_cyan(&'a self) -> FgColorDisplay<'a, BrightCyan, Self>
[src]
fn on_bright_cyan(&'a self) -> BgColorDisplay<'a, BrightCyan, Self>
[src]
fn bright_white(&'a self) -> FgColorDisplay<'a, BrightWhite, Self>
[src]
fn on_bright_white(&'a self) -> BgColorDisplay<'a, BrightWhite, Self>
[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.
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>,