pub struct RequestSnapshot {
pub operation_id: OperationId,
pub request_id: RequestId,
pub session_id: SessionId,
pub connection_id: Option<ConnectionId>,
pub registered_at: Instant,
pub response_deadline: Option<Instant>,
pub metadata: Metadata,
pub operation: OperationSnapshot,
}Expand description
Stand-alone snapshot of a pending request at query time.
The snapshot does not retain the request payload and does not freeze later state transitions.
Debug summarizes the business identifier and metadata while retaining operation diagnostics.
Fields§
§operation_id: OperationIdIdentifier of the underlying send operation.
request_id: RequestIdApplication-level identifier used to match a response.
session_id: SessionIdLogical session that owns the request.
connection_id: Option<ConnectionId>Physical connection assigned to the request, or None before one is
assigned.
registered_at: InstantTime at which the request entered the pending-response table.
response_deadline: Option<Instant>Original response deadline, excluding manual-dispatch grace; None
means no deadline has been established yet.
metadata: MetadataCopy of the request metadata captured by this query.
operation: OperationSnapshotSend-operation snapshot captured by the same query.
Trait Implementations§
Source§impl Clone for RequestSnapshot
impl Clone for RequestSnapshot
Auto Trait Implementations§
impl !RefUnwindSafe for RequestSnapshot
impl !UnwindSafe for RequestSnapshot
impl Freeze for RequestSnapshot
impl Send for RequestSnapshot
impl Sync for RequestSnapshot
impl Unpin for RequestSnapshot
impl UnsafeUnpin for RequestSnapshot
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