pub struct SqliteWatchStopHandle { /* private fields */ }Expand description
Asks a watch’s worker to return, without owning the worker. Cheap to clone; never blocks and never joins.
Implementations§
Source§impl SqliteWatchStopHandle
impl SqliteWatchStopHandle
Sourcepub fn request_stop(&self)
pub fn request_stop(&self)
Ask the worker to return. Once it observes the request it starts no further tick; a tick already running finishes first. Never blocks.
Trait Implementations§
Source§impl Clone for SqliteWatchStopHandle
impl Clone for SqliteWatchStopHandle
Auto Trait Implementations§
impl Forget for SqliteWatchStopHandle
impl Freeze for SqliteWatchStopHandle
impl Move for SqliteWatchStopHandle
impl RefUnwindSafe for SqliteWatchStopHandle
impl Send for SqliteWatchStopHandle
impl Sync for SqliteWatchStopHandle
impl Unpin for SqliteWatchStopHandle
impl UnsafeUnpin for SqliteWatchStopHandle
impl UnwindSafe for SqliteWatchStopHandle
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