pub struct DeviceReusableExecutionTopologyFingerprint(/* private fields */);Expand description
Opaque provider-owned topology identity for one reusable compute program.
The core aggregates these fixed-size values with node and provider identity. Backends keep kernel-selection details private while the program catalog can still reject a stale executable before any command is encoded or submitted.
Implementations§
Source§impl DeviceReusableExecutionTopologyFingerprint
impl DeviceReusableExecutionTopologyFingerprint
pub const fn from_sha256(bytes: [u8; 32]) -> Self
pub const fn static_program() -> Self
pub const fn as_bytes(&self) -> &[u8; 32]
Trait Implementations§
Source§impl Clone for DeviceReusableExecutionTopologyFingerprint
impl Clone for DeviceReusableExecutionTopologyFingerprint
Source§fn clone(&self) -> DeviceReusableExecutionTopologyFingerprint
fn clone(&self) -> DeviceReusableExecutionTopologyFingerprint
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 Copy for DeviceReusableExecutionTopologyFingerprint
impl Eq for DeviceReusableExecutionTopologyFingerprint
Source§impl Ord for DeviceReusableExecutionTopologyFingerprint
impl Ord for DeviceReusableExecutionTopologyFingerprint
Source§fn cmp(&self, other: &DeviceReusableExecutionTopologyFingerprint) -> Ordering
fn cmp(&self, other: &DeviceReusableExecutionTopologyFingerprint) -> 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for DeviceReusableExecutionTopologyFingerprint
impl PartialOrd for DeviceReusableExecutionTopologyFingerprint
Source§fn partial_cmp(
&self,
other: &DeviceReusableExecutionTopologyFingerprint,
) -> Option<Ordering>
fn partial_cmp( &self, other: &DeviceReusableExecutionTopologyFingerprint, ) -> Option<Ordering>
impl StructuralPartialEq for DeviceReusableExecutionTopologyFingerprint
Auto Trait Implementations§
impl Freeze for DeviceReusableExecutionTopologyFingerprint
impl RefUnwindSafe for DeviceReusableExecutionTopologyFingerprint
impl Send for DeviceReusableExecutionTopologyFingerprint
impl Sync for DeviceReusableExecutionTopologyFingerprint
impl Unpin for DeviceReusableExecutionTopologyFingerprint
impl UnsafeUnpin for DeviceReusableExecutionTopologyFingerprint
impl UnwindSafe for DeviceReusableExecutionTopologyFingerprint
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