pub enum IntentStatus {
Pending,
Committed,
Failed,
}Expand description
The monotone lifecycle of one execution intent: pending → committed
| failed. Monotone means a terminal state (either) supersedes pending
in the fold, and never regresses.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for IntentStatus
impl Clone for IntentStatus
Source§fn clone(&self) -> IntentStatus
fn clone(&self) -> IntentStatus
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 IntentStatus
Source§impl Debug for IntentStatus
impl Debug for IntentStatus
Source§impl<'de> Deserialize<'de> for IntentStatus
impl<'de> Deserialize<'de> for IntentStatus
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 IntentStatus
Source§impl PartialEq for IntentStatus
impl PartialEq for IntentStatus
Source§fn eq(&self, other: &IntentStatus) -> bool
fn eq(&self, other: &IntentStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for IntentStatus
impl Serialize for IntentStatus
impl StructuralPartialEq for IntentStatus
Auto Trait Implementations§
impl Freeze for IntentStatus
impl RefUnwindSafe for IntentStatus
impl Send for IntentStatus
impl Sync for IntentStatus
impl Unpin for IntentStatus
impl UnsafeUnpin for IntentStatus
impl UnwindSafe for IntentStatus
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