pub trait MessageData:
Debug
+ Send
+ Sync {
// Required methods
fn clone_message(&self) -> Box<dyn MessageData>;
fn as_any(&self) -> &dyn Any;
}
pub trait MessageData:
Debug
+ Send
+ Sync {
// Required methods
fn clone_message(&self) -> Box<dyn MessageData>;
fn as_any(&self) -> &dyn Any;
}