changeset 202:a9052eb97e83

try forcing Send and Sync
author Daniel Boline <ddboline@gmail.com>
date Fri, 19 Feb 2021 18:51:28 -0500
parents 5ece99be69cb
children f1dd166ad40e
files async-google-apis-common/src/http.rs
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/async-google-apis-common/src/http.rs	Sun Feb 07 17:27:32 2021 +0100
+++ b/async-google-apis-common/src/http.rs	Fri Feb 19 18:51:28 2021 -0500
@@ -181,7 +181,7 @@
     /// indicate that a download is expected.
     pub async fn do_it(
         &mut self,
-        dst: Option<&mut (dyn tokio::io::AsyncWrite + std::marker::Unpin)>,
+        dst: Option<&mut (dyn tokio::io::AsyncWrite + std::marker::Unpin + Send + Sync)>,
     ) -> Result<DownloadResult<Response>> {
         use std::str::FromStr;