pub struct PagedLoadQuery<'a, E: PersistedRow> { /* private fields */ }Expand description
PagedLoadQuery
Facade wrapper for cursor-pagination mode over typed load queries. Returns typed entity items plus an opaque continuation cursor.
Implementations§
Source§impl<E: PersistedRow> PagedLoadQuery<'_, E>
impl<E: PersistedRow> PagedLoadQuery<'_, E>
pub const fn query(&self) -> &Query<E>
Sourcepub fn cursor(self, token: impl Into<String>) -> Self
pub fn cursor(self, token: impl Into<String>) -> Self
Attach an opaque continuation cursor token for the next page.
Sourcepub fn execute(self) -> Result<PagedResponse<E>, Error>where
E: EntityValue,
pub fn execute(self) -> Result<PagedResponse<E>, Error>where
E: EntityValue,
Execute in cursor-pagination mode.
Continuation is best-effort and forward-only over live state: deterministic per request under canonical ordering, with no snapshot/version pinned across requests.
Auto Trait Implementations§
impl<'a, E> Freeze for PagedLoadQuery<'a, E>
impl<'a, E> !RefUnwindSafe for PagedLoadQuery<'a, E>
impl<'a, E> !Send for PagedLoadQuery<'a, E>
impl<'a, E> !Sync for PagedLoadQuery<'a, E>
impl<'a, E> Unpin for PagedLoadQuery<'a, E>where
E: Unpin,
impl<'a, E> UnsafeUnpin for PagedLoadQuery<'a, E>
impl<'a, E> !UnwindSafe for PagedLoadQuery<'a, E>
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