pub trait Event {
type Body: Debug + Clone + Serialize + DeserializeOwned + Send + Sync;
const EVENT: &'static str;
}Expand description
Event is an event, with associated name and body type.
Required Associated Constants§
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.