pub struct WorkIterator<'a> { /* private fields */ }Expand description
Yields individual Work items across the deep paged WorkList pages.
Created by WorkListIterator::into_work_iter.
Trait Implementations§
Source§impl Iterator for WorkIterator<'_>
impl Iterator for WorkIterator<'_>
Source§async fn next(&mut self) -> Option<Self::Item>
async fn next(&mut self) -> Option<Self::Item>
Advances the iterator and returns the next value.
Source§fn size_hint(&self) -> (usize, Option<usize>)
fn size_hint(&self) -> (usize, Option<usize>)
Returns the bounds on the remaining length of the iterator.
Source§fn map<B, F>(self, f: F) -> Map<Self, F>
fn map<B, F>(self, f: F) -> Map<Self, F>
Takes a closure and creates an iterator which calls that closure on each element.
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for WorkIterator<'a>
impl<'a> !UnwindSafe for WorkIterator<'a>
impl<'a> Freeze for WorkIterator<'a>
impl<'a> Send for WorkIterator<'a>
impl<'a> Sync for WorkIterator<'a>
impl<'a> Unpin for WorkIterator<'a>
impl<'a> UnsafeUnpin for WorkIterator<'a>
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