pub struct Request {
pub request_id: u64,
pub tenant_id: u32,
pub vshard_id: u16,
pub plan: Plan,
pub deadline: Instant,
pub priority: Priority,
pub trace_id: u64,
}Expand description
A request envelope sent from the Control Plane (Tokio) to the Data Plane (TPC).
This is a lightweight descriptor — bulk data lives behind Arc<[u8]> or
slab handles, not inline in the ring buffer slot.
Fields§
§request_id: u64Globally unique request identifier (monotonic per connection for 24h).
tenant_id: u32Tenant scope for isolation and quota enforcement.
vshard_id: u16Virtual shard this request targets.
plan: PlanOpaque execution plan digest (interpreted by the Data Plane).
deadline: InstantAbsolute deadline — Data Plane must abandon work after this instant.
priority: PriorityPriority class for scheduling on the Data Plane core.
trace_id: u64Distributed trace identifier for cross-plane observability.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Request
impl RefUnwindSafe for Request
impl Send for Request
impl Sync for Request
impl Unpin for Request
impl UnsafeUnpin for Request
impl UnwindSafe for Request
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