Development Documentation (main branch) - For stable release docs, see docs.rs/eidetica
Skip to main content

Module backend

Module backend 

Source
Expand description

Backend implementations for Eidetica storage

This module provides the core BackendImpl trait and various backend implementations organized by category (database, file, network, cloud).

The BackendImpl trait defines the interface for storing and retrieving Entry objects. This allows the core database logic (Instance, Database) to be independent of the specific storage mechanism.

Instance wraps BackendImpl in a Backend struct that provides a layer for future development.

Re-exports§

pub use errors::BackendError;

Modules§

database
Database-style backend implementations
errors
Database error types for the Eidetica backend.

Structs§

InstanceMetadata
Persistent public metadata for an Eidetica instance.
InstanceSecrets
Private secrets for an Eidetica instance.
ProjectionDescriptor
Identifies a Store’s cached record format.
RecordPage
One bounded ordered scan page. next is the last returned key and must be supplied as the exclusive continuation on the next request.
RecordRange
Half-open byte-key range [start, end).
RecordView
An immutable view onto a published record set.
StagingToken
Opaque token for one private unpublished build.
StoreStateRequest
Metadata used to resolve or build cached state.

Enums§

CacheScope
Trust/visibility scope for a cached CRDT state entry.
Reachability
Verdict of a bounded, tree-scoped reachability query (check_targets_reachable_from).
StoreStateLifecycle
Lifecycle of stored Store state.
VerificationStatus
Verification status for entries in the backend.

Traits§

BackendImpl
BackendImpl trait abstracting the underlying storage mechanism for Eidetica entries.

Type Aliases§

RecordMutations
Ordered record changes.