pub trait MessageRenderer {
// Provided method
fn render_message(&self, m: SomeMessage) -> String { ... }
}Expand description
If you want to control how the message is displayed, implement this trait.
The default implementation is in simple Chinese.