Skip to main content

Module persistence

Module persistence 

Source

Modules§

queued_work
Dialect-independent queued-work claim logic shared by durable backends.

Structs§

BlobRef
FileAttachmentStore
GcReport
HydratedSessionCheckpoint
InMemoryAttachmentStore
InMemoryProcessExecutionEnvStore
InMemorySessionStore
InMemorySessionStoreFactory
Session-id-keyed factory: the same in-memory store is returned for a given session across opens (so a worker rebuild sees the session’s state), and a fresh store is created on first use. Inline durability tier.
LeaseOwnerIdentity
PendingTurnInputClaimDiagnostics
PendingTurnInputDraft
PersistedSessionConfig
PersistedSessionRead
PersistedTurnState
ProtocolEvent
QueuedWorkBatch
QueuedWorkBatchDraft
QueuedWorkClaim
QueuedWorkCompletion
QueuedWorkItem
RuntimeCommit
RuntimeCommitResult
RuntimeSessionState
The runtime’s view of a session: the persistable snapshot fields plus scratch fields the runtime tracks but never persists (head-revision CAS guard, pending dirty-write buffers, replace-graph flag). Public serialization goes through RuntimeSessionState::to_snapshot, which drops runtime-only fields by construction.
RuntimeTurnCommitStamp
SessionCheckpoint
SessionExecutionLease
SessionExecutionLeaseCompletion
SessionExecutionLeaseFence
SessionGraph
SessionHead
SessionHeadMeta
SessionMeta
SessionNodeRecord
SessionReadView
SessionStoreCreateRequest
VacuumReport
Result of a RuntimePersistence::vacuum() call. removed_node_count counts the tombstoned graph-node rows that were physically deleted from the store. removed_pending_turn_input_tombstone_count counts terminal pending-input evidence rows pruned by host-scheduled retention. Returned so hosts can emit metrics.

Enums§

DeliveryPolicy
GraphCommitDelta
LeaseOwnerLiveness
MergeKey
QueuedWorkClaimBoundary
QueuedWorkClass
QueuedWorkPayload
SessionExecutionLeaseClaimOutcome
SessionReadScope
SessionRelation
SlotPolicy
StoreError

Traits§

AttachmentStore
ProcessExecutionEnvStore
RuntimePersistence
Exact settled-session persistence protocol required by the runtime.
SessionStoreFactory

Functions§

load_persisted_session_state
load_persisted_session_state_active_path

Type Aliases§

SessionEventRecord