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: Response<E>,
continuation_cursor: Option<Vec<u8>>,
execution_trace: Option<ExecutionTrace>,
) -> Self
pub const fn new( response: Response<E>, continuation_cursor: Option<Vec<u8>>, execution_trace: Option<ExecutionTrace>, ) -> Self
Create a traced paged load execution payload.
Sourcepub const fn execution(&self) -> &PagedLoadExecution<E>
pub const fn execution(&self) -> &PagedLoadExecution<E>
Borrow the paged execution payload.
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 into_execution(self) -> PagedLoadExecution<E>
pub fn into_execution(self) -> PagedLoadExecution<E>
Consume this payload and drop trace details.
Sourcepub fn into_parts(
self,
) -> (Response<E>, Option<Vec<u8>>, Option<ExecutionTrace>)
pub fn into_parts( self, ) -> (Response<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<E: EntityKind> From<(Response<E>, Option<Vec<u8>>, Option<ExecutionTrace>)> for PagedLoadExecutionWithTrace<E>
impl<E: EntityKind> From<(Response<E>, Option<Vec<u8>>, Option<ExecutionTrace>)> for PagedLoadExecutionWithTrace<E>
Source§impl<E: EntityKind> From<PagedLoadExecutionWithTrace<E>> for (Response<E>, Option<Vec<u8>>, Option<ExecutionTrace>)
impl<E: EntityKind> From<PagedLoadExecutionWithTrace<E>> for (Response<E>, Option<Vec<u8>>, Option<ExecutionTrace>)
Source§fn from(value: PagedLoadExecutionWithTrace<E>) -> Self
fn from(value: PagedLoadExecutionWithTrace<E>) -> Self
Converts to this type from the input type.
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