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

Module store

Module store 

Source

Re-exports§

pub use crate::backend::ProjectionDescriptor;
pub use state::OPAQUE_STATE_KEY;

Modules§

state

Structs§

DocStore
A document-oriented Store providing ergonomic access to Doc CRDT data.
EncryptedFragment
Encrypted data fragment containing ciphertext and nonce.
EncryptionInfo
Encryption metadata stored in _index config (plaintext)
PasswordStore
Password-encrypted store wrapper.
PasswordStoreConfig
Configuration stored in _index for PasswordStore.
Registry
A registry that wraps a DocStore and provides specialized methods for managing typed entries with metadata.
RegistryEntry
Metadata for a registry entry
SettingsStore
A settings-specific Store that wraps DocStore and provides specialized methods for managing database settings and authentication configuration.
SubtreeSettings
Common settings for any subtree type.
Table
A row-based Store
TableCursor
Exclusive continuation for ordered Table scans.
TablePage
One bounded page of rows in the Store’s persisted record-key order.
ValueEditor
An editor for a Value obtained from a DocStore.
YDoc
A Y-CRDT based Store implementation with efficient differential saving.
YrsBinary
A CRDT wrapper for Y-CRDT binary update data.

Enums§

StoreError
Generic error types for store operations.
StoreStateModel
Store-owned representation of cached current state.

Constants§

DEFAULT_ARGON2_M_COST
Default Argon2 memory cost in KiB (19 MiB)
DEFAULT_ARGON2_P_COST
Default Argon2 parallelism
DEFAULT_ARGON2_T_COST
Default Argon2 time cost (iterations)

Traits§

DocStoreInit
Builder extension for DocStore: ergonomic, non-generic ways to register a DocStore inside a [DatabaseBuilder] chain.
RecordProjection
Converts canonical Entry deltas to and from a Store’s cached record format.
Registered
Trait for types that can be registered in a Registry.
Store
A trait representing a named, CRDT-based data structure within a Database.