@@ -202,7 +202,7 @@ impl GridFsBucket {
202
202
& self ,
203
203
id : Bson ,
204
204
filename : String ,
205
- source : impl futures :: io :: AsyncRead ,
205
+ source : impl futures_util :: AsyncRead ,
206
206
options : impl Into < Option < GridFsUploadOptions > > ,
207
207
) {
208
208
todo ! ( )
@@ -230,7 +230,7 @@ impl GridFsBucket {
230
230
pub async fn upload_from_futures_0_3_reader (
231
231
& self ,
232
232
filename : String ,
233
- source : impl futures :: io :: AsyncRead ,
233
+ source : impl futures_util :: AsyncRead ,
234
234
options : impl Into < Option < GridFsUploadOptions > > ,
235
235
) {
236
236
self . upload_from_futures_0_3_reader_with_id (
@@ -276,7 +276,7 @@ impl GridFsBucket {
276
276
pub async fn download_to_futures_0_3_writer (
277
277
& self ,
278
278
id : Bson ,
279
- destination : impl futures :: io :: AsyncWrite ,
279
+ destination : impl futures_util :: AsyncWrite ,
280
280
) {
281
281
todo ! ( )
282
282
}
@@ -299,7 +299,7 @@ impl GridFsBucket {
299
299
pub async fn download_to_futures_0_3_writer_by_name (
300
300
& self ,
301
301
filename : String ,
302
- destination : impl futures :: io :: AsyncWrite ,
302
+ destination : impl futures_util :: AsyncWrite ,
303
303
options : impl Into < Option < GridFsDownloadByNameOptions > > ,
304
304
) {
305
305
todo ! ( )
0 commit comments