Trait ya_service_bus::RpcMessage
source · pub trait RpcMessage: Serialize + DeserializeOwned + 'static + Sync + Send {
type Item: Serialize + DeserializeOwned + 'static + Sync + Send;
type Error: Serialize + DeserializeOwned + 'static + Sync + Send + Debug;
const ID: &'static str;
}
Required Associated Types§
type Item: Serialize + DeserializeOwned + 'static + Sync + Send
type Error: Serialize + DeserializeOwned + 'static + Sync + Send + Debug
Required Associated Constants§
Object Safety§
This trait is not object safe.