Skip to main content

Module bookmarks

Module bookmarks 

Source
Expand description

Persistent bookmarks for the Oxide browser.

Entries are stored in a [sled] embedded database under a dedicated [sled::Tree] named "bookmarks". Each record is keyed by URL; values hold the serialized title, favorite flag, and creation time. For UI code that may run on multiple threads, use SharedBookmarkStore and initialize the store when the database is available.

Structs§

Bookmark
A saved bookmark: canonical URL, display title, favorite flag, and creation time.
BookmarkStore
Persistent bookmark storage backed by a [sled::Tree] in an open [sled::Db].

Functions§

new_shared
Creates a shared bookmark store initialized to None (no database opened yet).

Type Aliases§

SharedBookmarkStore
Thread-safe handle to an optional BookmarkStore: Arc wrapped Mutex of Option.