Struct color_eyre::config::EyreHook[][src]

pub struct EyreHook { /* fields omitted */ }

An eyre reporting hook used to construct EyreHandlers

Implementations

impl EyreHook[src]

pub fn install(self) -> Result<(), InstallError>[src]

Installs self as the global eyre handling hook via eyre::set_hook

pub fn into_eyre_hook(
    self
) -> Box<dyn Fn(&(dyn Error + 'static)) -> Box<dyn EyreHandler> + Send + Sync + 'static>
[src]

Convert the self into the boxed type expected by eyre::set_hook.

Auto Trait Implementations

impl !RefUnwindSafe for EyreHook

impl Send for EyreHook

impl Sync for EyreHook

impl Unpin for EyreHook

impl !UnwindSafe for EyreHook

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.