pub enum WorkLifecycle {
Queued,
Prepared,
Submitted,
Completing,
Committed,
Abandoned,
Failed,
}Expand description
Authoritative lifecycle of one transition.
Variants§
Queued
Accepted but not branched.
Prepared
Branch exists; nothing submitted.
Submitted
Exact completion exists and is incomplete.
Completing
Completion succeeded and commit is resolving.
Committed
Branch was published.
Abandoned
Submitted work was cancelled and is retained until exact completion.
Failed
Preparation, execution, completion, or commit failed.
Trait Implementations§
Source§impl Clone for WorkLifecycle
impl Clone for WorkLifecycle
Source§fn clone(&self) -> WorkLifecycle
fn clone(&self) -> WorkLifecycle
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 WorkLifecycle
Source§impl Debug for WorkLifecycle
impl Debug for WorkLifecycle
Source§impl<'de> Deserialize<'de> for WorkLifecycle
impl<'de> Deserialize<'de> for WorkLifecycle
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 WorkLifecycle
Source§impl PartialEq for WorkLifecycle
impl PartialEq for WorkLifecycle
Source§impl Serialize for WorkLifecycle
impl Serialize for WorkLifecycle
impl StructuralPartialEq for WorkLifecycle
Auto Trait Implementations§
impl Freeze for WorkLifecycle
impl RefUnwindSafe for WorkLifecycle
impl Send for WorkLifecycle
impl Sync for WorkLifecycle
impl Unpin for WorkLifecycle
impl UnsafeUnpin for WorkLifecycle
impl UnwindSafe for WorkLifecycle
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