pub trait Prefix {
// Required method
fn write_in<W: Write>(writer: &mut W) -> Result<()>;
}
Expand description
Describes how to write panic’s message prefix.
Generally should be simple prefix that will go as {Prefix}{PanicInfo}...
Required Methods§
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.