pub enum PhaseStatus {
Pending,
Running,
Done,
Failed,
}Expand description
Where one phase stands.
Variants§
Pending
Running
Done
Failed
Attempted and did not hold. Kept rather than reset to Pending so a
resumed goal can tell “not started” from “tried once and failed”,
which are different things to hand back to a model.
Trait Implementations§
Source§impl Clone for PhaseStatus
impl Clone for PhaseStatus
impl Copy for PhaseStatus
Source§impl Debug for PhaseStatus
impl Debug for PhaseStatus
Source§impl<'de> Deserialize<'de> for PhaseStatus
impl<'de> Deserialize<'de> for PhaseStatus
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 PhaseStatus
Source§impl PartialEq for PhaseStatus
impl PartialEq for PhaseStatus
Source§impl Serialize for PhaseStatus
impl Serialize for PhaseStatus
impl StructuralPartialEq for PhaseStatus
Auto Trait Implementations§
impl Forget for PhaseStatus
impl Freeze for PhaseStatus
impl RefUnwindSafe for PhaseStatus
impl Send for PhaseStatus
impl Sync for PhaseStatus
impl Unpin for PhaseStatus
impl UnsafeUnpin for PhaseStatus
impl UnwindSafe for PhaseStatus
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.