pub enum SqliteWatchJoin {
Joined,
JoinedAfterPanic,
UnjoinedOnWorkerThread,
}Expand description
How SqliteChangeWatch::stop_and_join ended.
Variants§
Joined
The worker returned and was joined: no tick is running and none will run.
JoinedAfterPanic
The worker was joined after a tick panicked: no tick is running and none will run.
UnjoinedOnWorkerThread
Called on the worker’s own thread, from inside a tick. The stop is requested, but a thread cannot join itself: the worker returns after the current tick, unjoined. The join handle stays in this watch, so whoever holds the watch must keep it and join it from another thread. Never a settled outcome.
Trait Implementations§
Source§impl Clone for SqliteWatchJoin
impl Clone for SqliteWatchJoin
impl Copy for SqliteWatchJoin
Source§impl Debug for SqliteWatchJoin
impl Debug for SqliteWatchJoin
impl Eq for SqliteWatchJoin
Source§impl PartialEq for SqliteWatchJoin
impl PartialEq for SqliteWatchJoin
impl StructuralPartialEq for SqliteWatchJoin
Auto Trait Implementations§
impl Forget for SqliteWatchJoin
impl Freeze for SqliteWatchJoin
impl Move for SqliteWatchJoin
impl RefUnwindSafe for SqliteWatchJoin
impl Send for SqliteWatchJoin
impl Sync for SqliteWatchJoin
impl Unpin for SqliteWatchJoin
impl UnsafeUnpin for SqliteWatchJoin
impl UnwindSafe for SqliteWatchJoin
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