pub enum SagaJournalPhase {
Running,
Completed,
Compensating,
Compensated,
Stuck,
}Expand description
Journal phase for resume / observability.
Variants§
Running
Forward execution in progress.
Completed
All forward steps committed.
Compensating
Running compensators after a forward failure.
Compensated
Compensators finished (success or partial — see completed_steps).
Stuck
Compensation could not complete.
Trait Implementations§
Source§impl Clone for SagaJournalPhase
impl Clone for SagaJournalPhase
Source§fn clone(&self) -> SagaJournalPhase
fn clone(&self) -> SagaJournalPhase
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 SagaJournalPhase
Source§impl Debug for SagaJournalPhase
impl Debug for SagaJournalPhase
Source§impl<'de> Deserialize<'de> for SagaJournalPhase
impl<'de> Deserialize<'de> for SagaJournalPhase
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 SagaJournalPhase
Source§impl PartialEq for SagaJournalPhase
impl PartialEq for SagaJournalPhase
Source§impl Serialize for SagaJournalPhase
impl Serialize for SagaJournalPhase
impl StructuralPartialEq for SagaJournalPhase
Auto Trait Implementations§
impl Freeze for SagaJournalPhase
impl RefUnwindSafe for SagaJournalPhase
impl Send for SagaJournalPhase
impl Sync for SagaJournalPhase
impl Unpin for SagaJournalPhase
impl UnsafeUnpin for SagaJournalPhase
impl UnwindSafe for SagaJournalPhase
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,
Source§impl<T> Command for T
impl<T> Command for T
Source§fn to_bytes(&self) -> Result<Vec<u8>, CodecError>
fn to_bytes(&self) -> Result<Vec<u8>, CodecError>
Encode this command to
postcard bytes for the log/wire. Read moreSource§fn from_bytes(bytes: &[u8]) -> Result<T, CodecError>
fn from_bytes(bytes: &[u8]) -> Result<T, CodecError>
Decode a command from
postcard bytes read back from the log/wire. Read moreimpl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> Query for T
impl<T> Query for T
Source§fn to_bytes(&self) -> Result<Vec<u8>, CodecError>
fn to_bytes(&self) -> Result<Vec<u8>, CodecError>
Encode this query to
postcard bytes for the wire. Read moreSource§fn from_bytes(bytes: &[u8]) -> Result<T, CodecError>
fn from_bytes(bytes: &[u8]) -> Result<T, CodecError>
Decode a query from
postcard bytes. Read more