Crate nostr_database
source ·Expand description
Nostr Database
Re-exports§
pub use self::index::DatabaseIndexes;pub use self::index::EventIndexResult;pub use self::memory::MemoryDatabase;pub use self::memory::MemoryDatabaseOptions;pub use self::profile::Profile;pub use nostr;
Modules§
- Nostr Database Indexes
- Memory (RAM) Storage backend for Nostr apps
- Profile
Enums§
- Backend
- Database Error
- Query result order
Traits§
- Super trait that is used for our store traits, this trait will differ if it’s used on WASM. WASM targets will not require
SendandSyncto have implemented, while other targets will. - A type that can be type-erased into
Arc<dyn NostrDatabase>. - Nostr Database
- Nostr Database Extension
- Alias for
Sendon non-wasm, empty trait (implemented by everything) on wasm. - Alias for
Syncon non-wasm, empty trait (implemented by everything) on wasm.
Type Aliases§
- A type-erased
NostrDatabase.