pub struct RequestQueueRequestsIterator { /* private fields */ }Expand description
A lazy, page-fetching iterator over the requests in a queue.
Created by RequestQueueClient::paginate_requests. Each call to next
returns the next request, fetching another page from the API when the local buffer is
exhausted, until all requests have been yielded.
Implementations§
Source§impl RequestQueueRequestsIterator
impl RequestQueueRequestsIterator
Sourcepub async fn next(&mut self) -> ApifyClientResult<Option<RequestQueueRequest>>
pub async fn next(&mut self) -> ApifyClientResult<Option<RequestQueueRequest>>
Returns the next request, or None when all requests have been yielded.
Auto Trait Implementations§
impl !RefUnwindSafe for RequestQueueRequestsIterator
impl !UnwindSafe for RequestQueueRequestsIterator
impl Freeze for RequestQueueRequestsIterator
impl Send for RequestQueueRequestsIterator
impl Sync for RequestQueueRequestsIterator
impl Unpin for RequestQueueRequestsIterator
impl UnsafeUnpin for RequestQueueRequestsIterator
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more