pub trait IRequest:
Clone
+ Debug
+ DeserializeOwned
+ Eq
+ Hash
+ PartialEq
+ Send
+ Serialize
+ Sync { }Expand description
Marker trait for serializable command request enums.
- Requests are keyed by their
Hashin theCommandMediator. - If duplicate requests should be tracked independently, include a unique identifier.
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.