pub struct DeviceReusableExecutionProgramId { /* private fields */ }Expand description
Runtime-local identity for one immutable reusable program.
The bucket binds execution topology and capacity, while the plan and lane bind provider semantics and every lane-stable physical address. Request and sequence identities are deliberately excluded because their live state is supplied through explicit per-wave bindings.
Implementations§
Source§impl DeviceReusableExecutionProgramId
impl DeviceReusableExecutionProgramId
pub fn new( plan_hash: PlanHash, runtime_implementation_fingerprint: String, lane_id: ExecutionLaneId, bucket_id: ReusableExecutionBucketId, program_binding_layout_fingerprint: String, lane_stable_layout_fingerprint: String, lane_slot_id: u64, immediate_sequences: u32, immediate_tokens: u64, immediate_pages: u64, ) -> Result<Self, VNextError>
pub fn with_topology_fingerprint( self, topology_fingerprint: DeviceReusableExecutionTopologyFingerprint, ) -> Self
pub fn plan_hash(&self) -> &PlanHash
pub fn runtime_implementation_fingerprint(&self) -> &str
pub const fn lane_id(&self) -> ExecutionLaneId
pub fn bucket_id(&self) -> &ReusableExecutionBucketId
pub fn program_binding_layout_fingerprint(&self) -> &str
pub fn lane_stable_layout_fingerprint(&self) -> &str
pub const fn lane_slot_id(&self) -> u64
pub const fn immediate_sequences(&self) -> u32
pub const fn immediate_tokens(&self) -> u64
pub const fn immediate_pages(&self) -> u64
pub const fn topology_fingerprint( &self, ) -> DeviceReusableExecutionTopologyFingerprint
Sourcepub fn fingerprint(&self) -> String
pub fn fingerprint(&self) -> String
Stable identity used by detached execution evidence. This hashes every field that selects one exact resident program without serializing backend-private executable contents.
Trait Implementations§
Source§impl Clone for DeviceReusableExecutionProgramId
impl Clone for DeviceReusableExecutionProgramId
Source§fn clone(&self) -> DeviceReusableExecutionProgramId
fn clone(&self) -> DeviceReusableExecutionProgramId
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Eq for DeviceReusableExecutionProgramId
Source§impl Ord for DeviceReusableExecutionProgramId
impl Ord for DeviceReusableExecutionProgramId
Source§fn cmp(&self, other: &DeviceReusableExecutionProgramId) -> Ordering
fn cmp(&self, other: &DeviceReusableExecutionProgramId) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for DeviceReusableExecutionProgramId
impl PartialOrd for DeviceReusableExecutionProgramId
impl StructuralPartialEq for DeviceReusableExecutionProgramId
Auto Trait Implementations§
impl Freeze for DeviceReusableExecutionProgramId
impl RefUnwindSafe for DeviceReusableExecutionProgramId
impl Send for DeviceReusableExecutionProgramId
impl Sync for DeviceReusableExecutionProgramId
impl Unpin for DeviceReusableExecutionProgramId
impl UnsafeUnpin for DeviceReusableExecutionProgramId
impl UnwindSafe for DeviceReusableExecutionProgramId
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