#[non_exhaustive]pub enum LifecyclePosture {
Live,
Closing {
stage: PendingStage,
},
Quarantined {
pending_stage: PendingStage,
},
PermanentlyQuarantined {
pending_stage: PendingStage,
},
Tombstoned {
last_stage: PendingStage,
disposition: AllocationPresence,
},
Closed,
}Expand description
Redacted allocation lifecycle posture.
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.
Live
One public protected owner is live.
Closing
A consuming teardown is executing.
Fields
§
stage: PendingStageStage currently executing.
Quarantined
Provider quarantine owns an incomplete teardown.
Fields
§
pending_stage: PendingStageEarliest stage that must resume.
PermanentlyQuarantined
Retry limits were exhausted and in-process recovery is forbidden.
Fields
§
pending_stage: PendingStageEarliest permanently incomplete stage.
Tombstoned
Allocation existence became indeterminate and no pointer remains.
Fields
§
last_stage: PendingStageLast operation attempted before addressability was destroyed.
§
disposition: AllocationPresenceConservative allocation-presence disposition.
Closed
Teardown completed and no allocation capability remains.
Trait Implementations§
Source§impl Clone for LifecyclePosture
impl Clone for LifecyclePosture
Source§fn clone(&self) -> LifecyclePosture
fn clone(&self) -> LifecyclePosture
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 LifecyclePosture
Source§impl Debug for LifecyclePosture
impl Debug for LifecyclePosture
impl Eq for LifecyclePosture
Source§impl Hash for LifecyclePosture
impl Hash for LifecyclePosture
Source§impl PartialEq for LifecyclePosture
impl PartialEq for LifecyclePosture
impl StructuralPartialEq for LifecyclePosture
Auto Trait Implementations§
impl Freeze for LifecyclePosture
impl RefUnwindSafe for LifecyclePosture
impl Send for LifecyclePosture
impl Sync for LifecyclePosture
impl Unpin for LifecyclePosture
impl UnsafeUnpin for LifecyclePosture
impl UnwindSafe for LifecyclePosture
Blanket Implementations§
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