pub trait RpcRequest:
Serialize
+ DeserializeOwned
+ 'static {
type Response: Serialize + DeserializeOwned + 'static;
const NAME: &str;
}
Required Associated Constants§
Required Associated Types§
type Response: Serialize + DeserializeOwned + 'static
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.