pub struct DeviceMemoryManagerInstallationIdentity {
pub owner_fingerprint: [u8; 16],
pub callback_version: u32,
pub partition_fingerprint: [u8; 16],
}Expand description
Stable identity of the process-lifetime callback and memory partition that owns a device memory manager installation.
Fields§
§owner_fingerprint: [u8; 16]Opaque fingerprint identifying the process-lifetime callback owner.
callback_version: u32Callback contract revision included in identity comparisons for installation reuse.
partition_fingerprint: [u8; 16]Opaque fingerprint identifying the immutable memory partition declaration.
Implementations§
Source§impl DeviceMemoryManagerInstallationIdentity
impl DeviceMemoryManagerInstallationIdentity
Sourcepub const fn new(
owner_fingerprint: [u8; 16],
callback_version: u32,
partition_fingerprint: [u8; 16],
) -> Self
pub const fn new( owner_fingerprint: [u8; 16], callback_version: u32, partition_fingerprint: [u8; 16], ) -> Self
Constructs a caller-declared installation identity without acquiring resources.
Explicit installation compares the identity with the existing process-lifetime manager before reuse; construction does not validate the fingerprints.
Trait Implementations§
impl Copy for DeviceMemoryManagerInstallationIdentity
impl Eq for DeviceMemoryManagerInstallationIdentity
impl StructuralPartialEq for DeviceMemoryManagerInstallationIdentity
Auto Trait Implementations§
impl Freeze for DeviceMemoryManagerInstallationIdentity
impl RefUnwindSafe for DeviceMemoryManagerInstallationIdentity
impl Send for DeviceMemoryManagerInstallationIdentity
impl Sync for DeviceMemoryManagerInstallationIdentity
impl Unpin for DeviceMemoryManagerInstallationIdentity
impl UnsafeUnpin for DeviceMemoryManagerInstallationIdentity
impl UnwindSafe for DeviceMemoryManagerInstallationIdentity
Blanket Implementations§
impl<T> Allocation for T
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.