pub struct DeviceMemoryManagerInstallationState {
pub device_ordinal: usize,
pub status: DeviceMemoryManagerInstallationStatus,
pub retry: DeviceMemoryManagerInstallationRetry,
pub cause: DeviceMemoryManagerInstallationCause,
pub effective_options: Option<DeviceMemoryManagerOptions>,
pub identity: Option<DeviceMemoryManagerInstallationIdentity>,
pub installation_generation: Option<u64>,
pub failure_callback_installed: bool,
pub current_resource_installed: bool,
pub failure_callback_panicked: bool,
}Expand description
Atomic inspection of a device’s native manager and Rust callback owner.
Fields§
§device_ordinal: usizeProcess-visible CUDA ordinal inspected by this installation transaction.
status: DeviceMemoryManagerInstallationStatusAuthoritative native installation and callback-health classification.
retry: DeviceMemoryManagerInstallationRetryWhether a subsequent explicit installation can create, retry, or reuse the manager.
cause: DeviceMemoryManagerInstallationCauseReason for the recorded disposition or the rejected installation request.
effective_options: Option<DeviceMemoryManagerOptions>Immutable settings of the existing manager, or None when no manager exists.
identity: Option<DeviceMemoryManagerInstallationIdentity>Retained callback-owner and partition identity, or None for an unidentified installation.
installation_generation: Option<u64>Native creation generation, or None when no generation was recorded.
failure_callback_installed: boolWhether the manager retains a process-lifetime allocation-failure callback.
current_resource_installed: boolWhether the manager is currently installed as the device-current resource.
failure_callback_panicked: boolWhether the retained callback has recorded a panic.
Trait Implementations§
impl Copy for DeviceMemoryManagerInstallationState
impl Eq for DeviceMemoryManagerInstallationState
impl StructuralPartialEq for DeviceMemoryManagerInstallationState
Auto Trait Implementations§
impl Freeze for DeviceMemoryManagerInstallationState
impl RefUnwindSafe for DeviceMemoryManagerInstallationState
impl Send for DeviceMemoryManagerInstallationState
impl Sync for DeviceMemoryManagerInstallationState
impl Unpin for DeviceMemoryManagerInstallationState
impl UnsafeUnpin for DeviceMemoryManagerInstallationState
impl UnwindSafe for DeviceMemoryManagerInstallationState
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
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
key and return true if they are equal.