pub enum LoadQueryResult<E: EntityKind> {
Rows(EntityResponse<E>),
Grouped(PagedGroupedExecutionWithTrace),
}Expand description
LoadQueryResult
Unified fluent load execution payload for scalar and grouped query shapes. Scalar queries materialize typed entity rows. Grouped queries materialize grouped rows plus continuation metadata.
Variants§
Rows(EntityResponse<E>)
Grouped(PagedGroupedExecutionWithTrace)
Implementations§
Source§impl<E: EntityKind> LoadQueryResult<E>
impl<E: EntityKind> LoadQueryResult<E>
Sourcepub fn into_rows(self) -> Result<EntityResponse<E>, QueryError>
pub fn into_rows(self) -> Result<EntityResponse<E>, QueryError>
Consume this result and require scalar entity rows.
Sourcepub fn into_grouped(self) -> Result<PagedGroupedExecutionWithTrace, QueryError>
pub fn into_grouped(self) -> Result<PagedGroupedExecutionWithTrace, QueryError>
Consume this result and require grouped rows.
Trait Implementations§
Auto Trait Implementations§
impl<E> Freeze for LoadQueryResult<E>
impl<E> RefUnwindSafe for LoadQueryResult<E>
impl<E> Send for LoadQueryResult<E>
impl<E> Sync for LoadQueryResult<E>
impl<E> Unpin for LoadQueryResult<E>
impl<E> UnsafeUnpin for LoadQueryResult<E>
impl<E> UnwindSafe for LoadQueryResult<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