Using the below code I can have the size in bytes of my (stream) file:
let bytes_copied = tokio::io::copy(&mut stream, &mut file).await?;
Is there a way I can have the size of the (stream) file using rust-s3
methods (https://github.com/durch/rust-s3) ?
bucket.put_object_stream(&mut stream, filename).await?;
Or Is there a way to "count" bytes as they "pass" in this "stream tunnel"?