Skip to main content

Crate aequora_bootstrap

Crate aequora_bootstrap 

Source
Expand description

Durable, bounded, and transport-neutral large snapshot bootstrap contracts.

This crate defines portable manifests, deterministic chunks, restart guards, snapshot leases, staging generations, and atomic activation evidence. Database transactions, object storage, authorization, and application payload interpretation stay in adapters.

Structs§

ActivationEvidence
Complete fail-closed evidence required by the atomic activation transaction.
ActivationOutcome
Result of the one atomic activation transaction.
AuthorityEpoch
Monotonic identity of one authoritative history for an AuthorityId.
AuthorityId
Stable identity of one logical authoritative deployment.
BootstrapJob
Complete durable job record; manifest identity and scope cannot drift on resume.
BootstrapJobId
Durable identity for one local bootstrap attempt.
BootstrapPreflight
Disk and memory budgets checked before transfer begins.
BootstrapStatus
Payload-free job status.
BootstrapStoreError
Payload-free adapter failure classification.
BuiltSnapshot
Verified build result; adapters publish the manifest only after every chunk is durable.
ChunkDescriptor
One ordered, independently verifiable manifest entry.
ChunkId
Stable content-bound chunk identity, independent from a temporary URL.
ChunkProgress
Persisted resume metadata; object identity prevents cross-object range append.
ChunkRead
One bounded read from a service, HTTP range endpoint, object store, or CDN.
ChunkingConfig
Deterministic chunking and hard resource limits.
EntityRange
Inclusive deterministic entity range represented by one chunk.
PendingIntentPlan
Payload-free commitment to pending intent preserved across activation.
ProjectionSchemaVersion
Application projection schema understood by the snapshot payload codec.
RangeResumeGuard
Stable identity required before appending bytes to a partial chunk.
ReplicaGeneration
Monotonic local replica generation; staging and active data never share a generation.
SnapshotBoundary
One immutable authoritative state boundary.
SnapshotChunk
Bounded encoded chunk produced alongside a manifest.
SnapshotInstallCapability
Explicit local adapter snapshot capabilities.
SnapshotLease
Server guarantee that the journal delta after a snapshot boundary remains readable.
SnapshotManifest
Immutable, versioned description of a complete snapshot.
SnapshotRequest
Request used to capture one database-neutral consistent read view.
VerifiedActivation
Validated activation token passed to an adapter transaction.

Enums§

BootstrapError
Portable workflow validation failure.
BootstrapMutationPolicy
Policy for local mutations while a replacement generation is staged.
BootstrapState
Durable workflow states. Only the declared transition graph is accepted.
BootstrapStoreErrorKind
Retry semantics for adapter failures.
ChunkLocation
Opaque, refreshable location selected by a transport adapter.
ChunkState
Durable state for one independently retryable chunk.
CompressionKind
Encoding applied to one chunk object.
SnapshotInstallFeature
Adapter capability statement used by deployment certification.

Constants§

MANIFEST_FORMAT_VERSION
Current portable large-bootstrap manifest format.

Traits§

SnapshotChunkSource
Transfer adapter for manifests and bounded/ranged chunk reads.
SnapshotLeaseStore
Authority adapter contract for journal-retention lease acquisition and renewal.
SnapshotReadView
Open consistent database view from which bounded canonical snapshot entities are streamed.
SnapshotSink
Local adapter contract for bounded staging and one atomic logical generation swap.
SnapshotSource
Authority adapter capable of opening a consistent, scoped snapshot read view.

Functions§

verify_activation
Checks every activation guard without mutating local state.