Struct aws_sdk_iot::paginator::ListStreamsPaginator
source · [−]pub struct ListStreamsPaginator<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }Expand description
Paginator for ListStreams
Implementations
impl<C, M, R> ListStreamsPaginator<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> ListStreamsPaginator<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
Set the page size
Note: this method will override any previously set value for max_results
Create a flattened paginator
This paginator automatically flattens results using streams. Queries to the underlying service
are dispatched lazily.
pub fn send(
self
) -> impl Stream<Item = Result<ListStreamsOutput, SdkError<ListStreamsError>>> + Unpin where
R::Policy: SmithyRetryPolicy<ListStreamsInputOperationOutputAlias, ListStreamsOutput, ListStreamsError, ListStreamsInputOperationRetryAlias>,
pub fn send(
self
) -> impl Stream<Item = Result<ListStreamsOutput, SdkError<ListStreamsError>>> + Unpin where
R::Policy: SmithyRetryPolicy<ListStreamsInputOperationOutputAlias, ListStreamsOutput, ListStreamsError, ListStreamsInputOperationRetryAlias>,
Create the pagination stream
Note: No requests will be dispatched until the stream is used (eg. with .next().await).
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for ListStreamsPaginator<C, M, R>
impl<C, M, R> Send for ListStreamsPaginator<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for ListStreamsPaginator<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for ListStreamsPaginator<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for ListStreamsPaginator<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more