pub enum LifecycleCommitOutcome {
Applied(FullContext),
IdempotentReplay(FullContext),
}Expand description
Outcome of an atomic RegistryStore::commit_lifecycle_event.
Variants§
Applied(FullContext)
The event was appended and the status effect applied; carries the post-transition full context (RFC-ACDP-0013 §6 step 5: the caller sees the new state in the shape it already knows).
IdempotentReplay(FullContext)
The event’s event_id matched an already-appended event with
identical content — nothing was appended; carries the current
state (§6 retry idempotency: a producer whose POST timed out
after the append must not receive a spurious
invalid_lifecycle_transition).
Implementations§
Source§impl LifecycleCommitOutcome
impl LifecycleCommitOutcome
Sourcepub fn into_context(self) -> FullContext
pub fn into_context(self) -> FullContext
The post-transition (or current, on replay) full context.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LifecycleCommitOutcome
impl RefUnwindSafe for LifecycleCommitOutcome
impl Send for LifecycleCommitOutcome
impl Sync for LifecycleCommitOutcome
impl Unpin for LifecycleCommitOutcome
impl UnsafeUnpin for LifecycleCommitOutcome
impl UnwindSafe for LifecycleCommitOutcome
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