pub trait Message:
Clone
+ Send
+ Sync
+ 'static {
type Response: Send + Sync + 'static;
}Expand description
Defines what an actor will receive as its message, and with what it should respond.
Required Associated Types§
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.