Expand description
Provides the main database structures (Instance and Database).
Instance manages multiple Database instances and interacts with the storage Database.
Database represents a single, independent history of data entries, analogous to a table or branch.
Re-exports§
pub use errors::InstanceError;pub use new_user::NewUser;
Modules§
- backend
- The
Backendseam: the single storage abstraction higher-level code (Transaction,Store,Database,Instance) operates through, with no branching on local vs remote. - errors
- Base database error types for the Eidetica library.
- new_
user - Inputs for creating a user.
- settings_
merge - Settings merge logic for combining user preferences.
- url
- Parser for eidetica connection URLs.
Structs§
- Instance
- Database implementation on top of the storage backend.
- Weak
Instance - Weak reference to an Instance.
- Write
Callback - Handle to a registered write callback. Drop to unregister.
- Write
Event - Context provided to write callbacks describing what changed in the database.
Enums§
- Write
Source - Indicates whether an entry write originated locally or from a remote source (e.g., sync).