pub enum DeliverableStatus {
Pending,
Ready,
InProgress,
Complete,
Failed {
reason: String,
},
}Expand description
Lifecycle state of a single Deliverable.
Transitions are driven by crate::ports::Planner::mark_status and by
the Planner’s own scheduling logic (e.g. Pending -> Ready when the
last prerequisite completes).
Variants§
Pending
At least one prerequisite is not yet complete.
Ready
All prerequisites are complete; not yet acquired.
InProgress
A caller holds an active lock and is working on this deliverable.
Complete
The caller marked this deliverable complete. The lock has been released.
Failed
The caller marked this deliverable failed. The lock has been released. The reason is preserved for audit and for human / planner retry decisions.
Trait Implementations§
Source§impl Clone for DeliverableStatus
impl Clone for DeliverableStatus
Source§fn clone(&self) -> DeliverableStatus
fn clone(&self) -> DeliverableStatus
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 DeliverableStatus
impl Debug for DeliverableStatus
Source§impl<'de> Deserialize<'de> for DeliverableStatus
impl<'de> Deserialize<'de> for DeliverableStatus
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for DeliverableStatus
Source§impl PartialEq for DeliverableStatus
impl PartialEq for DeliverableStatus
Source§impl Serialize for DeliverableStatus
impl Serialize for DeliverableStatus
impl StructuralPartialEq for DeliverableStatus
Auto Trait Implementations§
impl Freeze for DeliverableStatus
impl RefUnwindSafe for DeliverableStatus
impl Send for DeliverableStatus
impl Sync for DeliverableStatus
impl Unpin for DeliverableStatus
impl UnsafeUnpin for DeliverableStatus
impl UnwindSafe for DeliverableStatus
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