pub trait ConcreteEvent: IEvent {
const EVENT_TYPE: &'static str;
}
Expand description
A trait representing a concrete event type.
Required Associated Constants§
Sourceconst EVENT_TYPE: &'static str
const EVENT_TYPE: &'static str
A string representing the event type.
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.