Skip to content

Commit

Permalink
Reqwest Sync requirement fix
Browse files Browse the repository at this point in the history
  • Loading branch information
abdolence committed Jul 9, 2024
1 parent c62ff30 commit 47867c2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ pub async fn storage_objects_insert_ext_stream(
configuration: &configuration::Configuration,
params: StoragePeriodObjectsPeriodInsertParams,
content_type: Option<String>,
bytes_stream: BoxStreamWithSend<
bytes_stream: BoxStreamWithSync<
'static,
std::result::Result<bytes::Bytes, Box<(dyn std::error::Error + Send + Sync + 'static)>>,
>
Expand Down Expand Up @@ -167,7 +167,7 @@ pub async fn storage_objects_insert_ext_bytes(
> {
use futures::StreamExt;

let bytes_stream: BoxStreamWithSend<
let bytes_stream: BoxStreamWithSync<
'static,
std::result::Result<bytes::Bytes, Box<(dyn std::error::Error + Send + Sync + 'static)>>,
> = Box::pin(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2390,7 +2390,7 @@ pub async fn storage_objects_insert_ext_stream(
configuration: &configuration::Configuration,
params: StoragePeriodObjectsPeriodInsertParams,
content_type: Option<String>,
bytes_stream: BoxStreamWithSend<
bytes_stream: BoxStreamWithSync<
'static,
std::result::Result<bytes::Bytes, Box<(dyn std::error::Error + Send + Sync + 'static)>>,
>,
Expand Down Expand Up @@ -2547,7 +2547,7 @@ pub async fn storage_objects_insert_ext_bytes(
> {
use futures::StreamExt;

let bytes_stream: BoxStreamWithSend<
let bytes_stream: BoxStreamWithSync<
'static,
std::result::Result<bytes::Bytes, Box<(dyn std::error::Error + Send + Sync + 'static)>>,
> = Box::pin(
Expand Down

0 comments on commit 47867c2

Please sign in to comment.