#[non_exhaustive]pub enum RowKind {
StateEntry,
CompensationCompletion,
StepCursor,
}Expand description
Why a CheckpointRow was written — distinguishes ordinary state-entry rows
from saga compensation-completion rows and SteppedTask cursor rows so
resume_from can route each correctly.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
StateEntry
An ordinary “the FSM entered this state” row (the common case).
CompensationCompletion
A saga compensatable task’s completion row, carrying its serialized output in output_blob.
StepCursor
A SteppedTask iteration row, carrying the serialized cursor in output_blob.
Trait Implementations§
impl Copy for RowKind
Source§impl<'de> Deserialize<'de> for RowKind
impl<'de> Deserialize<'de> for RowKind
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 RowKind
impl StructuralPartialEq for RowKind
Auto Trait Implementations§
impl Freeze for RowKind
impl RefUnwindSafe for RowKind
impl Send for RowKind
impl Sync for RowKind
impl Unpin for RowKind
impl UnsafeUnpin for RowKind
impl UnwindSafe for RowKind
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