lazy_panic::formatter

Trait Suffix

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

Describes how to write panic’s message suffix.

Generally should be simple suffix that will go as ...{PanicInfo}{Suffix}

Required Methods§

Source

fn write_in<W: Write>(writer: &mut W) -> 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§