Skip to main content

Crate canwu_sim

Crate canwu_sim 

Source
Expand description

Deterministic runtime, validated commands, scheduling, plugins, and snapshots.

Structs§

ArtifactManifest
Stable identity for a scenario, ruleset, content pack, run policy, localization contract, or source ledger.
BoundaryChange
BoundaryContext
BoundaryEmission
BoundaryIngressGeneration
BoundaryProposal
BoundaryReceipt
BoundaryRecord
BoundaryRequest
BoundarySystemContract
CanwuError
CheckpointJournal
Portable full-save bundle built from a current-state checkpoint and journal segments.
CommandAttemptRecord
CommandAuthority
CommandContext
CommandEnvelope
CommandReceipt
CommandRecord
CommandRejection
CommandRequest
CommitmentRoots
Canonical roots for independent authoritative state and evidence domains.
CompactedSimulation
A live simulation whose sealed evidence prefixes are owned by the caller.
DemoIds
DomainRecord
DomainRecordChange
DomainRecordDraft
DomainRecordSchema
DomainReference
DomainReferenceSchema
EvidenceCursor
Monotonic cuts through every append-only evidence journal.
EvidenceJournalSegment
One contiguous append-only evidence range for incremental archival.
IngressReceipt
IngressRecord
PayloadProperty
PluginActionDescriptor
PluginComponentRecord
PluginDescriptor
PluginIngressDescriptor
PluginIngressRequest
PluginRegistrar
PluginRegistry
RandomDrawRecord
RandomStreamKey
RandomStreamState
ReplayJournal
Complete recorded environment and input journal for exact replay.
ReservationAllocation
ReservationOffer
ReservationOfferRecord
ReservationPoolKey
ReservationRef
ReservationRequest
ReservationRequestRecord
RunConfiguration
Scenario
SeatBinding
SimEvent
Simulation
SimulationCheckpoint
Current authoritative state plus the journal cut required to validate it.
SimulationSnapshot
SimulationView
StateKey
SystemContract

Enums§

BoundaryDirective
BoundaryEmissionKind
BoundaryPhase
CauseRef
Command
CommandAttemptOutcome
CommandIngress
CommandOutcome
CommandPolicyContext
Command-relevant policy deliberately omits run purpose, observation, and trace so authoritative handlers cannot branch on presentation-only inputs.
ControllerPolicy
DecisionOrigin
DomainRecordClass
DomainRecordLifecycle
DomainRecordMutation
DomainRecordOperation
DomainReferenceTarget
DomainReferenceTargetKind
ErrorCode
EventAudience
Declarative audience for a persisted event projection.
EventKind
IngressClass
IngressPayload
InteractionPolicy
Issuer
ObservationPolicy
PayloadSchema
PayloadValueType
RandomAlgorithm
RandomDrawOutcome
RandomDrawProducer
ReservationDisposition
RunConfigurationSnapshot
RunManifest
The exact non-executable environment bound to a simulation run.
RunPurpose
SeatPolicy
StateVisibility
SystemCadence
SystemDirective
TracePolicy

Constants§

ADMISSION_CURSOR_FORMAT_VERSION
Version of persisted monotonic boundary-admission cursors.
CHECKPOINT_JOURNAL_FORMAT_VERSION
Version of current-state checkpoints plus append-only evidence segments.
COMMITMENT_FORMAT_VERSION
Version of the domain-separated checkpoint commitment contract.
ENGINE_VERSION
MAX_SYNCHRONOUS_REACTION_DEPTH
Maximum nested depth of the compatibility synchronous event-reactor path.
RUN_CONFIGURATION_FORMAT_VERSION
RUN_MANIFEST_FORMAT_VERSION
SNAPSHOT_FORMAT_VERSION
STATE_REVISION_FORMAT_VERSION
Version of the independently migrated authoritative revision commitment.

Traits§

SimulationPlugin
A stateless executable package whose persisted identity must change whenever its authoritative behavior changes.

Functions§

demo_scenario

Type Aliases§

BoundarySystemHandler
PluginCommandHandler
SimulationSystemHandler
Compatibility-only synchronous event reactor.