#[non_exhaustive]pub enum DeviceMemoryManagerInstallationCause {
None,
CurrentResourceInstallFailed,
CurrentResourceReplaced,
FailureCallbackPanicked,
FailureCallbackMissing,
IdentityMissing,
OptionsMismatch,
IdentityMismatch,
CallbackBindingMismatch,
}Expand description
Closed native reason for an installation disposition.
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.
None
No additional installation failure or incompatibility was recorded.
CurrentResourceInstallFailed
The native device-current resource switch failed.
CurrentResourceReplaced
Another resource replaced the manager after its current-resource installation.
FailureCallbackPanicked
The process-lifetime failure callback panicked.
FailureCallbackMissing
The existing manager has no required failure callback.
IdentityMissing
The existing manager has no identified callback owner and memory partition.
OptionsMismatch
Requested physical-base or allocation-limit settings conflict with the installed manager.
IdentityMismatch
Requested owner or memory-partition identity differs from the installed identity.
CallbackBindingMismatch
Requested callback function or argument differs from the retained process-lifetime binding.
Trait Implementations§
impl Copy for DeviceMemoryManagerInstallationCause
impl Eq for DeviceMemoryManagerInstallationCause
impl StructuralPartialEq for DeviceMemoryManagerInstallationCause
Auto Trait Implementations§
impl Freeze for DeviceMemoryManagerInstallationCause
impl RefUnwindSafe for DeviceMemoryManagerInstallationCause
impl Send for DeviceMemoryManagerInstallationCause
impl Sync for DeviceMemoryManagerInstallationCause
impl Unpin for DeviceMemoryManagerInstallationCause
impl UnsafeUnpin for DeviceMemoryManagerInstallationCause
impl UnwindSafe for DeviceMemoryManagerInstallationCause
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.