pub async fn request<Pattern: Serialize + DeserializeOwned, RequestData: Serialize, ResponseData: DeserializeOwned>(
pattern: Pattern,
data: RequestData,
connection: &Connection,
) -> (Message, Response<ResponseData>)
pub async fn request<Pattern: Serialize + DeserializeOwned, RequestData: Serialize, ResponseData: DeserializeOwned>(
pattern: Pattern,
data: RequestData,
connection: &Connection,
) -> (Message, Response<ResponseData>)