pub struct PagedGroupedExecutionWithTrace { /* private fields */ }Expand description
PagedGroupedExecutionWithTrace
Cursor-paged grouped execution payload plus optional route/execution trace.
Implementations§
Source§impl PagedGroupedExecutionWithTrace
impl PagedGroupedExecutionWithTrace
Sourcepub const fn new(
rows: Vec<GroupedRow>,
continuation_cursor: Option<Vec<u8>>,
execution_trace: Option<ExecutionTrace>,
) -> Self
pub const fn new( rows: Vec<GroupedRow>, continuation_cursor: Option<Vec<u8>>, execution_trace: Option<ExecutionTrace>, ) -> Self
Construct one traced grouped paged execution payload.
Sourcepub const fn execution(&self) -> &PagedGroupedExecution
pub const fn execution(&self) -> &PagedGroupedExecution
Borrow grouped execution payload.
Sourcepub const fn rows(&self) -> &[GroupedRow]
pub const fn rows(&self) -> &[GroupedRow]
Borrow grouped rows.
Sourcepub fn continuation_cursor(&self) -> Option<&[u8]>
pub fn continuation_cursor(&self) -> Option<&[u8]>
Borrow optional continuation cursor bytes.
Sourcepub const fn execution_trace(&self) -> Option<&ExecutionTrace>
pub const fn execution_trace(&self) -> Option<&ExecutionTrace>
Borrow optional execution trace details.
Sourcepub fn into_execution(self) -> PagedGroupedExecution
pub fn into_execution(self) -> PagedGroupedExecution
Consume payload and drop trace details.
Sourcepub fn into_parts(
self,
) -> (Vec<GroupedRow>, Option<Vec<u8>>, Option<ExecutionTrace>)
pub fn into_parts( self, ) -> (Vec<GroupedRow>, Option<Vec<u8>>, Option<ExecutionTrace>)
Consume into grouped rows, continuation cursor bytes, and optional trace.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PagedGroupedExecutionWithTrace
impl RefUnwindSafe for PagedGroupedExecutionWithTrace
impl Send for PagedGroupedExecutionWithTrace
impl Sync for PagedGroupedExecutionWithTrace
impl Unpin for PagedGroupedExecutionWithTrace
impl UnsafeUnpin for PagedGroupedExecutionWithTrace
impl UnwindSafe for PagedGroupedExecutionWithTrace
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