pub enum CeremonyEvent {
Show 34 variants
HostHandoffRecorded(HostHandoffRecorded),
CeremonyInstanceStarted(CeremonyInstanceStarted),
ParticipantsBound(ParticipantsBound),
StepStarted(StepStarted),
StepLeaseRenewed(StepLeaseRenewed),
StepCompleted(StepCompleted),
StepFailed(StepFailed),
ContextWritten(ContextWritten),
StateIterationStarted(StateIterationStarted),
TransitionApplied(TransitionApplied),
InterventionRequested(InterventionRequested),
InterventionResponded(InterventionResponded),
InterventionClosed(InterventionClosed),
InterventionDeliveryAcknowledged(InterventionDeliveryAcknowledged),
EvidenceCollected(EvidenceCollected),
ReasonAsserted(ReasonAsserted),
HumanApprovalRecorded(HumanApprovalRecorded),
HumanDeferralRecorded(HumanDeferralRecorded),
CeremonyCompleted(CeremonyCompleted),
InstanceImported(InstanceImported),
MemoryRecalled(MemoryRecalled),
ChildSpawnPlanned(ChildSpawnPlanned),
ChildSpawnPlanAdopted(ChildSpawnPlanAdopted),
ChildCompletionAccepted(ChildCompletionAccepted),
CeremonyPaused(CeremonyPaused),
CeremonyResumed(CeremonyResumed),
CeremonyCancelled(CeremonyCancelled),
CeremonyDeadlineExceeded(CeremonyDeadlineExceeded),
StateDeadlineExceeded(StateDeadlineExceeded),
StepDeadlineExceeded(StepDeadlineExceeded),
LateStepResultObserved(LateStepResultObserved),
ExecutionReceiptLinked(ExecutionReceiptLinked),
SuccessorPlanned(SuccessorPlanned),
SuccessionCarried(SuccessionCarried),
}Expand description
A fact a ceremony’s stream can hold, with its full payload.
One variant per AuditEventType the engine seals today, under the
same name, and tagged on the wire with the same snake_case string
AuditEventType::as_str returns. Three types of the catalogue have
no variant because nothing produces them: CeremonyDefinitionValidated
and CeremonyDefinitionPublished belong to the definition catalogue,
not to a ceremony’s stream, and CeremonyFailed has no producer —
a ceremony reaches its end only by a transition into a terminal
state, which is a completion. They join when something can emit
them.
Variants§
HostHandoffRecorded(HostHandoffRecorded)
CeremonyInstanceStarted(CeremonyInstanceStarted)
ParticipantsBound(ParticipantsBound)
StepStarted(StepStarted)
StepLeaseRenewed(StepLeaseRenewed)
StepCompleted(StepCompleted)
StepFailed(StepFailed)
ContextWritten(ContextWritten)
StateIterationStarted(StateIterationStarted)
TransitionApplied(TransitionApplied)
InterventionRequested(InterventionRequested)
InterventionResponded(InterventionResponded)
InterventionClosed(InterventionClosed)
InterventionDeliveryAcknowledged(InterventionDeliveryAcknowledged)
EvidenceCollected(EvidenceCollected)
ReasonAsserted(ReasonAsserted)
HumanApprovalRecorded(HumanApprovalRecorded)
HumanDeferralRecorded(HumanDeferralRecorded)
CeremonyCompleted(CeremonyCompleted)
InstanceImported(InstanceImported)
MemoryRecalled(MemoryRecalled)
ChildSpawnPlanned(ChildSpawnPlanned)
ChildSpawnPlanAdopted(ChildSpawnPlanAdopted)
ChildCompletionAccepted(ChildCompletionAccepted)
CeremonyPaused(CeremonyPaused)
CeremonyResumed(CeremonyResumed)
CeremonyCancelled(CeremonyCancelled)
CeremonyDeadlineExceeded(CeremonyDeadlineExceeded)
StateDeadlineExceeded(StateDeadlineExceeded)
StepDeadlineExceeded(StepDeadlineExceeded)
LateStepResultObserved(LateStepResultObserved)
ExecutionReceiptLinked(ExecutionReceiptLinked)
SuccessorPlanned(SuccessorPlanned)
SuccessionCarried(SuccessionCarried)
Implementations§
Source§impl CeremonyEvent
impl CeremonyEvent
Sourcepub fn event_type(&self) -> AuditEventType
pub fn event_type(&self) -> AuditEventType
The catalogue entry this event is an instance of.
Sourcepub fn schema_version(&self) -> EventSchemaVersion
pub fn schema_version(&self) -> EventSchemaVersion
The shape this event’s payload is written in.
Listed per variant rather than as one constant, so a payload that changes shape bumps its own version and nobody else’s.