Skip to main content

Crate aedb

Crate aedb 

Source

Modules§

backup
catalog
checkpoint
commit
config
declarative
engine_interface
error
faults
Deterministic fault injection for durability-path testing.
locks
Transaction-scoped, in-memory exclusive locks for logical objects.
manifest
migration
offline
order_book
permission
preflight
query
recovery
repository
snapshot
storage
sync_bridge
version_store
Ring of recent whole-database versions used to serve MVCC reads at a seq.
wal

Structs§

AedbInstance
ClaimedTask
A task handed to a worker by queue_claim, carrying the fencing token the worker must present to queue_complete/queue_fail/queue_heartbeat.
CommitTelemetryEvent
CommitTrace
What a single commit produced — the events it emitted. Answers “what effects/events did this action commit?” for debugging.
CompareAndSwapRequest
DdlBatchResult
DdlResult
EffectCheckpointRecord
A durable record of an external-effect checkpoint. Stored in KV under an engine-reserved key, so it survives restart, checkpoint, and restore.
EnqueueOptions
Options for enqueuing a durable-queue task.
EnqueueOutcome
Result of a queue_enqueue.
EnqueueSpec
A target queue plus its EnqueueOptions — used for queue_complete follow-ups (scheduler re-arm, workflow next step, event fan-out).
EventCompactionReport
Result of an AedbInstance::compact_events run.
EventFieldFilter
Equality filter against a top-level field of an event’s JSON payload.
EventLogSummary
Summary of the canonical event log (the event_outbox system table).
EventOutboxRecord
EventQuery
Ergonomic query over the canonical event log (the event_outbox system table). Supports filtering by event type (topic), project/scope, commit-sequence range (cursor pagination), time range, and arbitrary payload fields (recipient, instance_id, block, …), in either direction.
EventRetentionPolicy
Retention policy for compacting the canonical event log. Events are pruned only when every active constraint permits it (retain if any says keep).
EventStreamPage
LeaseRecord
Full inspection view of a generalized lease (see this module’s docs).
ListPageResult
ListWithTotalRequest
LookupThenHydrateRequest
MigrationReport
MonitorCheckpointUpdate
Partial update to a monitor checkpoint. None fields are left unchanged. Used to record scan progress (last scanned block, cursor) and retry state.
MonitorLease
A held monitor lease: a single-owner claim with a fencing token and expiry. The fencing_token strictly increases each time ownership changes, so a checkpoint advance can be rejected if a newer owner has taken over (fencing out a zombie monitor).
MonitorStatus
Full inspection view of a monitor: scan checkpoint, retry state, and lease.
MutateWhereReturningResult
NamespaceInspection
Aggregated inspection of one project/scope: its monitors and the state of its external-effect checkpoints. A one-call dashboard for “which monitor checkpoint advanced” and “which effects committed”.
OperationalMetrics
ProjectInfo
ProjectionEntry
A single entry from a latest-per-key projection view (see the projection API: latest protocol status, account position summaries, pending intents).
QueryBatchItem
QueryDiagnostics
QueryTelemetryEvent
QueryWithDiagnosticsResult
ReactiveProcessorHealth
ReactiveProcessorInfo
ReactiveProcessorLag
ReactiveProcessorOptions
ReactiveProcessorRuntimeStatus
ReactiveProcessorSloStatus
ReadTx
ScopeInfo
SqlTransactionPlan
TableInfo
TableU256MutationRequest
TaskRecord
Full inspection view of a durable-queue task.
UpdateWhereExprRequest
UpdateWhereRequest

Enums§

CommitFinality
CompleteEffect
Outcome of AedbInstance::complete_effect.
DdlBatchOrderMode
EffectClaim
Outcome of AedbInstance::begin_effect — claiming a dedupe key before performing a side effect (e.g. an external submission or a credit).
EffectStatus
Lifecycle state of an exactly-once external-effect checkpoint.
EventOrder
Scan direction for AedbInstance::query_events.
FencedCommit
Result of a lease-fenced checkpoint advance.
LeaseOutcome
Result of attempting to acquire a monitor lease.
LifecycleEvent
PredicateEvaluationPath
RenewOutcome
Result of renewing a monitor lease.
TaskState
Lifecycle state of a durable-queue task.

Traits§

LifecycleHook
QueryCommitTelemetryHook
ReadOnlySqlAdapter
RemoteBackupAdapter

Type Aliases§

ReactiveProcessorHandler
ReactiveProcessorHandlerFuture