pub trait Format: Write {
// Provided method
fn format_msg(&mut self, msg: impl Formattable) -> Result { ... }
}
Expand description
A trait to format a type onto this core::fmt::Write
Provided Methods§
Sourcefn format_msg(&mut self, msg: impl Formattable) -> Result
fn format_msg(&mut self, msg: impl Formattable) -> Result
Format the message
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.