Struct aws_sdk_connect::paginator::GetMetricDataPaginator
source · [−]pub struct GetMetricDataPaginator { /* private fields */ }
Expand description
Paginator for GetMetricData
Implementations
sourceimpl GetMetricDataPaginator
impl GetMetricDataPaginator
sourcepub fn page_size(self, limit: i32) -> Self
pub fn page_size(self, limit: i32) -> Self
Set the page size
Note: this method will override any previously set value for max_results
sourcepub fn send(
self
) -> impl Stream<Item = Result<GetMetricDataOutput, SdkError<GetMetricDataError>>> + Unpin
pub fn send(
self
) -> impl Stream<Item = Result<GetMetricDataOutput, SdkError<GetMetricDataError>>> + Unpin
Create the pagination stream
Note: No requests will be dispatched until the stream is used (eg. with .next().await
).
Auto Trait Implementations
impl !RefUnwindSafe for GetMetricDataPaginator
impl Send for GetMetricDataPaginator
impl Sync for GetMetricDataPaginator
impl Unpin for GetMetricDataPaginator
impl !UnwindSafe for GetMetricDataPaginator
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more