pub struct PagedLoadExecutionWithTrace<E: EntityKind> { /* private fields */ }Expand description
PagedLoadExecutionWithTrace
Cursor-paged load response plus optional execution trace details.
Implementations§
Source§impl<E: EntityKind> PagedLoadExecutionWithTrace<E>
impl<E: EntityKind> PagedLoadExecutionWithTrace<E>
Sourcepub const fn new(
response: EntityResponse<E>,
continuation_cursor: Option<Vec<u8>>,
execution_trace: Option<ExecutionTrace>,
) -> Self
pub const fn new( response: EntityResponse<E>, continuation_cursor: Option<Vec<u8>>, execution_trace: Option<ExecutionTrace>, ) -> Self
Create a traced paged load execution payload.
Sourcepub const fn response(&self) -> &EntityResponse<E>
pub const fn response(&self) -> &EntityResponse<E>
Borrow the paged response rows.
Sourcepub fn continuation_cursor(&self) -> Option<&[u8]>
pub fn continuation_cursor(&self) -> Option<&[u8]>
Borrow the 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 execution_metrics(&self) -> Option<ExecutionMetrics>
pub fn execution_metrics(&self) -> Option<ExecutionMetrics>
Borrow compact execution metrics derived from the optional execution trace.
Sourcepub fn into_execution(self) -> PagedLoadExecution<E>
pub fn into_execution(self) -> PagedLoadExecution<E>
Consume this payload and drop trace details.
Sourcepub fn into_parts(
self,
) -> (EntityResponse<E>, Option<Vec<u8>>, Option<ExecutionTrace>)
pub fn into_parts( self, ) -> (EntityResponse<E>, Option<Vec<u8>>, Option<ExecutionTrace>)
Consume this payload and return (response, continuation_cursor, trace).
Trait Implementations§
Source§impl<E: Debug + EntityKind> Debug for PagedLoadExecutionWithTrace<E>
impl<E: Debug + EntityKind> Debug for PagedLoadExecutionWithTrace<E>
Source§impl<'a, E: EntityKind> IntoIterator for &'a PagedLoadExecutionWithTrace<E>
impl<'a, E: EntityKind> IntoIterator for &'a PagedLoadExecutionWithTrace<E>
Auto Trait Implementations§
impl<E> Freeze for PagedLoadExecutionWithTrace<E>
impl<E> RefUnwindSafe for PagedLoadExecutionWithTrace<E>
impl<E> Send for PagedLoadExecutionWithTrace<E>
impl<E> Sync for PagedLoadExecutionWithTrace<E>
impl<E> Unpin for PagedLoadExecutionWithTrace<E>
impl<E> UnsafeUnpin for PagedLoadExecutionWithTrace<E>
impl<E> UnwindSafe for PagedLoadExecutionWithTrace<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