Crate sos_database

Crate sos_database 

Source
Expand description

Database storage layer for the Save Our Secrets SDK.

Re-exports§

pub use async_sqlite;

Modules§

archivearchive
Create and import backup archives.
audit_provideraudit
Database audit log provider.
entity
Database entities.
migrations
Run database migrations.

Structs§

DatabaseEventLog
Database event log.
PreferenceProviderpreferences
Store preferences in a database table.
ServerOrigins
Collection of server origins.
SystemMessagesProvidersystem-messages
Database storage provider for system messages.
VaultDatabaseWriter
Write changes to a vault in the database.

Enums§

Error
Errors generated by the database library.

Functions§

open_file
Open a database file from a path with WAL journal mode enabled.
open_file_with_journal_mode
Open a database file from a specific journal mode.
open_memory
Open an in-memory database and run migrations.

Type Aliases§

AccountEventLog
Event log for changes to an account.
DeviceEventLog
Event log for devices.
FileEventLogfiles
Event log for changes to external files.
FolderEventLog
Event log for changes to a folder.