#[non_exhaustive]pub enum DeviceMemoryManagerInstallationStatus {
Uninstalled,
Incomplete,
Owned,
Unidentified,
CallbackPanicked,
}Expand description
Authoritative state of the process-lifetime manager/callback installation.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Uninstalled
No process-local memory manager exists for the device.
Incomplete
A manager exists, but its device-current resource installation is incomplete or was replaced.
Owned
An identified manager and its failure callback are installed as the current device resource.
Unidentified
A manager exists without the identity or failure callback required for owned reuse.
CallbackPanicked
The retained failure callback panicked and the manager is permanently unusable.
Trait Implementations§
impl Copy for DeviceMemoryManagerInstallationStatus
impl Eq for DeviceMemoryManagerInstallationStatus
impl StructuralPartialEq for DeviceMemoryManagerInstallationStatus
Auto Trait Implementations§
impl Freeze for DeviceMemoryManagerInstallationStatus
impl RefUnwindSafe for DeviceMemoryManagerInstallationStatus
impl Send for DeviceMemoryManagerInstallationStatus
impl Sync for DeviceMemoryManagerInstallationStatus
impl Unpin for DeviceMemoryManagerInstallationStatus
impl UnsafeUnpin for DeviceMemoryManagerInstallationStatus
impl UnwindSafe for DeviceMemoryManagerInstallationStatus
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.