Skip to main content

SharedBookmarkStore

Type Alias SharedBookmarkStore 

Source
pub type SharedBookmarkStore = Arc<Mutex<Option<BookmarkStore>>>;
Expand description

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

Use None before the sled database is opened; replace with Some(store) after BookmarkStore::open. Lock the mutex when reading or updating bookmarks from worker threads.

Aliased Typeยง

pub struct SharedBookmarkStore { /* private fields */ }