pub struct Hook { /* private fields */ }
Expand description

An eyre reporting hook.

Implementations

Create an eyre handler hook with the given handlebars template.

Errors

RenderError if given template is invalid.

Create a hook to construct a simple eyre error handler.

Create a hook to construct a simple eyre error handler with color support.

Install self as the global eyre handling hook via eyre::set_hook.

Errors

InstallError if failed to install self.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.