pub enum DeferredReleaseDisposition {
Queued {
identity: AllocationIdentity,
},
Quarantined {
identity: AllocationIdentity,
rejection: DeferredEnqueueRejection,
outcome: AllocationReleaseOutcome,
},
}Expand description
What happened when an owning allocation was handed to a deferred queue.
Variants§
Queued
The queue accepted final ownership. The allocation is
AllocationReleaseState::Queued until the queue executes it.
Fields
§
identity: AllocationIdentityQuarantined
The queue refused, so ownership was quarantined at its mechanism.
Fields
§
identity: AllocationIdentity§
rejection: DeferredEnqueueRejection§
outcome: AllocationReleaseOutcomeImplementations§
Source§impl DeferredReleaseDisposition
impl DeferredReleaseDisposition
pub const fn identity(&self) -> AllocationIdentity
pub const fn state(&self) -> AllocationReleaseState
pub const fn is_queued(&self) -> bool
Trait Implementations§
Source§impl Clone for DeferredReleaseDisposition
impl Clone for DeferredReleaseDisposition
Source§fn clone(&self) -> DeferredReleaseDisposition
fn clone(&self) -> DeferredReleaseDisposition
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 moreSource§impl Debug for DeferredReleaseDisposition
impl Debug for DeferredReleaseDisposition
impl Eq for DeferredReleaseDisposition
impl StructuralPartialEq for DeferredReleaseDisposition
Auto Trait Implementations§
impl Freeze for DeferredReleaseDisposition
impl RefUnwindSafe for DeferredReleaseDisposition
impl Send for DeferredReleaseDisposition
impl Sync for DeferredReleaseDisposition
impl Unpin for DeferredReleaseDisposition
impl UnsafeUnpin for DeferredReleaseDisposition
impl UnwindSafe for DeferredReleaseDisposition
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