pub trait Event:
Clone
+ Send
+ Sync
+ 'static { }Expand description
Marker trait for any value that can flow through the bus.
Clone is required because broadcast channels deliver the same
value to every subscriber. Send + Sync + 'static enables storage
in the type-erased registry.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".