Crate read_progress_stream

Source
Expand description

Wrapper for a stream that stores the number of bytes read so that uploading to S3 using the rusoto_s3 crate can indicate upload progress for larger files.

See the test for example usage and run with --nocapture to see the mock progress bar:

cargo test -- --nocapture

Structs§

Type Aliases§

  • Progress handler is called with information about the stream read progress.