pub struct ThreadCommit {
pub fencing_token: Option<u64>,
pub checkpoint: Checkpoint,
pub history: HistoryMutation,
pub acknowledge_event: Option<EventId>,
pub event: Option<DurableEvent>,
pub recovery_context: Option<InvocationContext>,
}Expand description
One atomic state transition requested by Runtime.
Fields§
§fencing_token: Option<u64>Lease fencing token required by distributed implementations.
checkpoint: CheckpointReplacement Runtime checkpoint.
history: HistoryMutationAtomic prompt-history append or replacement.
acknowledge_event: Option<EventId>Exact pending event durably acknowledged by the downstream consumer.
event: Option<DurableEvent>Event that becomes durable with the checkpoint revision.
recovery_context: Option<InvocationContext>Context indexed by distributed deployments while this checkpoint or its outbox needs recovery.
None removes the thread from the runnable recovery index.
Trait Implementations§
Source§impl Clone for ThreadCommit
impl Clone for ThreadCommit
Source§fn clone(&self) -> ThreadCommit
fn clone(&self) -> ThreadCommit
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 moreSource§impl Debug for ThreadCommit
impl Debug for ThreadCommit
Source§impl<'de> Deserialize<'de> for ThreadCommit
impl<'de> Deserialize<'de> for ThreadCommit
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
Source§impl PartialEq for ThreadCommit
impl PartialEq for ThreadCommit
Source§impl Serialize for ThreadCommit
impl Serialize for ThreadCommit
impl StructuralPartialEq for ThreadCommit
Auto Trait Implementations§
impl Freeze for ThreadCommit
impl RefUnwindSafe for ThreadCommit
impl Send for ThreadCommit
impl Sync for ThreadCommit
impl Unpin for ThreadCommit
impl UnsafeUnpin for ThreadCommit
impl UnwindSafe for ThreadCommit
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