lazy_panic::formatter

Trait PanicInfo

Source
pub trait PanicInfo {
    // Required method
    fn write_in<W: Write>(writer: &mut W, info: &PanicInfo<'_>) -> Result<()>;
}
Expand description

Describes how to write PanicInfo

Required Methods§

Source

fn write_in<W: Write>(writer: &mut W, info: &PanicInfo<'_>) -> Result<()>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§