pub struct Watcher { /* private fields */ }Expand description
Notices commits to the store made through any other connection, in this process or
another (the CLI writing while the app is open, say). It holds its own connection and
compares SQLite’s PRAGMA data_version, which changes exactly when someone else commits.
It says that something changed, not what: a consumer re-reads what it shows.
Implementations§
Auto Trait Implementations§
impl !Freeze for Watcher
impl !RefUnwindSafe for Watcher
impl !Sync for Watcher
impl !UnwindSafe for Watcher
impl Forget for Watcher
impl Send for Watcher
impl Unpin for Watcher
impl UnsafeUnpin for Watcher
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more