pub type MessageCallback = Box<dyn FnMut(&Connection, Message) -> bool + 'static>;Expand description
The type of function to use for replacing the message callback.
See the documentation for Connection::replace_message_callback for more information.
Aliased Typeยง
pub struct MessageCallback(/* private fields */);