pub trait Message:
Clone
+ Send
+ Sync
+ 'static { }Expand description
A message that can be exchanged between agents.
Messages are value types – they are copied into the message buffer during the output phase. Implement this trait for your message struct.
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.