Loading crates/s3s/tests/tokio_util.rs→crates/s3s/examples/tokio_util.rs +2 −0 Original line number Diff line number Diff line Loading @@ -9,3 +9,5 @@ pub fn convert_body(body: s3s::Body) -> impl AsyncBufRead + Send + Sync + 'stati pub fn convert_streaming_blob(blob: s3s::dto::StreamingBlob) -> impl AsyncBufRead + Send + Sync + 'static { StreamReader::new(blob.into_stream().map_err(std::io::Error::other)) } fn main() {} Loading
crates/s3s/tests/tokio_util.rs→crates/s3s/examples/tokio_util.rs +2 −0 Original line number Diff line number Diff line Loading @@ -9,3 +9,5 @@ pub fn convert_body(body: s3s::Body) -> impl AsyncBufRead + Send + Sync + 'stati pub fn convert_streaming_blob(blob: s3s::dto::StreamingBlob) -> impl AsyncBufRead + Send + Sync + 'static { StreamReader::new(blob.into_stream().map_err(std::io::Error::other)) } fn main() {}