pub enum CeremonyEvent {
Show 29 variants
CeremonyInstanceStarted(CeremonyInstanceStarted),
ParticipantsBound(ParticipantsBound),
StepStarted(StepStarted),
StepCompleted(StepCompleted),
StepFailed(StepFailed),
ContextWritten(ContextWritten),
StateIterationStarted(StateIterationStarted),
TransitionApplied(TransitionApplied),
InterventionRequested(InterventionRequested),
InterventionResponded(InterventionResponded),
InterventionClosed(InterventionClosed),
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),
}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§
CeremonyInstanceStarted(CeremonyInstanceStarted)
ParticipantsBound(ParticipantsBound)
StepStarted(StepStarted)
StepCompleted(StepCompleted)
StepFailed(StepFailed)
ContextWritten(ContextWritten)
StateIterationStarted(StateIterationStarted)
TransitionApplied(TransitionApplied)
InterventionRequested(InterventionRequested)
InterventionResponded(InterventionResponded)
InterventionClosed(InterventionClosed)
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)
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.
Trait Implementations§
Source§impl Clone for CeremonyEvent
impl Clone for CeremonyEvent
Source§fn clone(&self) -> CeremonyEvent
fn clone(&self) -> CeremonyEvent
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more