aws_smithy_async::future::pagination_stream

Module collect

Source
Expand description

Module to extend the functionality of types in patination_stream module to allow for collecting elements of the stream into collection.

Majority of the code is borrowed from https://github.com/tokio-rs/tokio/blob/fc9518b62714daac9a38b46c698b94ac5d5b1ca2/tokio-stream/src/stream_ext/collect.rs