pub trait Request:
Serialize
+ DeserializeOwned
+ Validate {
type Response: Serialize + DeserializeOwned + Validate;
const ACTION: &'static str;
}Expand description
Ties a request payload type to its action name and response type.
Implemented by the generated code of every version crate.
Required Associated Constants§
Required Associated Types§
type Response: Serialize + DeserializeOwned + Validate
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".