pub struct ListGatewayRoutesPaginator<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description
Paginator for ListGatewayRoutes
Implementations
impl<C, M, R> ListGatewayRoutesPaginator<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> ListGatewayRoutesPaginator<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 limit
Create a flattened paginator
This paginator automatically flattens results using gateway_routes
. Queries to the underlying service
are dispatched lazily.
pub fn send(
self
) -> impl Stream<Item = Result<ListGatewayRoutesOutput, SdkError<ListGatewayRoutesError>>> + Unpin where
R::Policy: SmithyRetryPolicy<ListGatewayRoutesInputOperationOutputAlias, ListGatewayRoutesOutput, ListGatewayRoutesError, ListGatewayRoutesInputOperationRetryAlias>,
pub fn send(
self
) -> impl Stream<Item = Result<ListGatewayRoutesOutput, SdkError<ListGatewayRoutesError>>> + Unpin where
R::Policy: SmithyRetryPolicy<ListGatewayRoutesInputOperationOutputAlias, ListGatewayRoutesOutput, ListGatewayRoutesError, ListGatewayRoutesInputOperationRetryAlias>,
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 ListGatewayRoutesPaginator<C, M, R>
impl<C, M, R> Send for ListGatewayRoutesPaginator<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for ListGatewayRoutesPaginator<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for ListGatewayRoutesPaginator<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for ListGatewayRoutesPaginator<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