chiark / gitweb /
client: wip code, compiles
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 29 Jul 2021 00:48:47 +0000 (01:48 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 29 Jul 2021 00:48:47 +0000 (01:48 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
src/bin/client.rs

index 18ba185f0ce5e0059d4454f1595fc408569836a5..f449b683aefccb5ba597cd20211d55c4356b37a8 100644 (file)
@@ -45,7 +45,7 @@ where C: hyper::client::connect::Connect + Clone + Send + Sync + 'static,
   let stream_for_rx = ipif.stdin .take().unwrap();
 
   let mut reqs: Vec<Pin<Box<
-      dyn Future<Output=Result<Bytes,AE>>
+      dyn Future<Output=Result<Bytes,AE>> + Send
       >>> = Vec::with_capacity(ic.max_requests_outstanding.sat());
 
   // xxx check that ic settings are all honoured