pub trait Message:
Serialize
+ DeserializeOwned
+ Send
+ Sync
+ 'static {
const DOMAIN: &'static str;
const TYPE: &'static str;
// Required method
fn declare(domain: &Domain);
}Expand description
A message of a domain: implemented by the attributes, not by hand.
Required Associated Constants§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".