pub struct LimitIterator<I: RowIterator> { /* private fields */ }Expand description
Iterator that applies LIMIT and OFFSET constraints.
This iterator skips the first offset rows and yields at most limit rows.
It provides early termination - once the limit is reached, no more rows
are requested from the input.
Implementations§
Source§impl<I: RowIterator> LimitIterator<I>
impl<I: RowIterator> LimitIterator<I>
Trait Implementations§
Source§impl<I: RowIterator> RowIterator for LimitIterator<I>
impl<I: RowIterator> RowIterator for LimitIterator<I>
Auto Trait Implementations§
impl<I> Freeze for LimitIterator<I>where
I: Freeze,
impl<I> RefUnwindSafe for LimitIterator<I>where
I: RefUnwindSafe,
impl<I> Send for LimitIterator<I>where
I: Send,
impl<I> Sync for LimitIterator<I>where
I: Sync,
impl<I> Unpin for LimitIterator<I>where
I: Unpin,
impl<I> UnwindSafe for LimitIterator<I>where
I: UnwindSafe,
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