From 17f5eac57a7c14ea3f798413eaeb20ebfffd3d5e Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Mon, 7 Aug 2023 11:04:50 +0200 Subject: [PATCH] client: drop Send for non-wasm as well on response future To see if it is even still necessary given that it's not a trait object type where auto traits would need to be explicit... Signed-off-by: Wolfgang Bumiller --- proxmox-client/src/client.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/proxmox-client/src/client.rs b/proxmox-client/src/client.rs index 4231bb21..6b606a1c 100644 --- a/proxmox-client/src/client.rs +++ b/proxmox-client/src/client.rs @@ -20,9 +20,6 @@ use crate::{Authentication, Environment, Error, Token}; /// An async [`Client`] requires some kind of async HTTP client implementation. pub trait HttpClient: Send + Sync { type Error: Error; - #[cfg(not(target_arch = "wasm32"))] - type ResponseFuture: Future>, Self::Error>> + Send; - #[cfg(target_arch = "wasm32")] type ResponseFuture: Future>, Self::Error>>; fn request(&self, request: Request>) -> Self::ResponseFuture;