Trait MessageRenderer

Source
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.

Provided Methods§

Implementations on Foreign Types§

Source§

impl MessageRenderer for ()

Implementors§