pub struct QueryPage<T> {
pub rows: Vec<T>,
pub next: Option<QueryCursor>,
pub examined: usize,
pub fetched: usize,
pub output_bytes: usize,
}Expand description
A bounded page. Empty rows do not mean completion when next is present.
Ordinary queries are live; maintenance source pages read frozen input.
Fields§
§rows: Vec<T>Matching results in the selected total order.
next: Option<QueryCursor>Resume position; only None establishes completion.
examined: usizeExamined primary/index candidates, including residual nonmatches and retries.
fetched: usizeRows fetched; tracked separately from index candidates.
output_bytes: usizeSum of returned encoded entity/projected-record bytes, excluding transport overhead.
Trait Implementations§
Auto Trait Implementations§
impl<T> Forget for QueryPage<T>
impl<T> Freeze for QueryPage<T>
impl<T> Move for QueryPage<T>
impl<T> RefUnwindSafe for QueryPage<T>where
Vec<T>: RefUnwindSafe,
impl<T> Send for QueryPage<T>
impl<T> Sync for QueryPage<T>
impl<T> Unpin for QueryPage<T>
impl<T> UnsafeUnpin for QueryPage<T>where
Vec<T>: UnsafeUnpin,
impl<T> UnwindSafe for QueryPage<T>where
Vec<T>: 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