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

Module instance

Module instance 

Source
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 Backend seam: 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.
WeakInstance
Weak reference to an Instance.
WriteCallback
Handle to a registered write callback. Drop to unregister.
WriteEvent
Context provided to write callbacks describing what changed in the database.

Enums§

WriteSource
Indicates whether an entry write originated locally or from a remote source (e.g., sync).