pub enum QuarantineReason {
AbandonedRequest,
OwnerDropped,
EnqueueRejected(DeferredEnqueueRejection),
DeviceLost,
MechanismTerminated,
PartialRelease,
AllocatorRefused,
StatePoisoned,
}Expand description
Why ownership was retained instead of released.
Variants§
AbandonedRequest
A prepared request was dropped without being executed.
OwnerDropped
An owning handle was dropped without an explicit release.
EnqueueRejected(DeferredEnqueueRejection)
The deferred queue refused final ownership.
DeviceLost
The device or provider context was lost, so the allocator must not be called.
MechanismTerminated
The mechanism was already terminated when release was attempted.
PartialRelease
The allocator mutated part of the allocation and then stopped.
AllocatorRefused
The allocator refused after preparation while promising it had not mutated anything. The live record is already gone, so live ownership cannot be restored without losing the owner; the conservative answer is quarantine.
StatePoisoned
A mechanism lock was poisoned, so ownership could not be settled safely.
Implementations§
Trait Implementations§
Source§impl Clone for QuarantineReason
impl Clone for QuarantineReason
Source§fn clone(&self) -> QuarantineReason
fn clone(&self) -> QuarantineReason
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 QuarantineReason
Source§impl Debug for QuarantineReason
impl Debug for QuarantineReason
Source§impl Display for QuarantineReason
impl Display for QuarantineReason
impl Eq for QuarantineReason
Source§impl Hash for QuarantineReason
impl Hash for QuarantineReason
Source§impl PartialEq for QuarantineReason
impl PartialEq for QuarantineReason
impl StructuralPartialEq for QuarantineReason
Auto Trait Implementations§
impl Freeze for QuarantineReason
impl RefUnwindSafe for QuarantineReason
impl Send for QuarantineReason
impl Sync for QuarantineReason
impl Unpin for QuarantineReason
impl UnsafeUnpin for QuarantineReason
impl UnwindSafe for QuarantineReason
Blanket Implementations§
impl<T> BindingResource 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