pub trait Message:
Debug
+ Clone
+ Send
+ Serialize
+ for<'de> Deserialize<'de>
+ 'static {
// Provided methods
fn name(&self) -> &'static str { ... }
fn protocol(&self) -> &'static str { ... }
}Expand description
Represents a message that can be sent between actors and across nodes.
Never implement it by hand, use the #[message] macro instead.
Provided Methods§
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.