[][src]Trait color_eyre::section::PanicMessage

pub trait PanicMessage: Send + Sync + 'static {
    fn display(&self, pi: &PanicInfo<'_>, f: &mut Formatter<'_>) -> Result;
}

Trait for printing a panic error message for the given PanicInfo

Required methods

fn display(&self, pi: &PanicInfo<'_>, f: &mut Formatter<'_>) -> Result

Display trait equivalent for implementing the display logic

Loading content...

Implementors

Loading content...