pub struct InterruptHandle {
pub(crate) db_lock: Arc<Mutex<*mut sqlite3>>,
}
Expand description
Allows interrupting a long-running computation.
Fields§
§db_lock: Arc<Mutex<*mut sqlite3>>
Implementations§
Trait Implementations§
impl Send for InterruptHandle
impl Sync for InterruptHandle
Auto Trait Implementations§
impl Freeze for InterruptHandle
impl RefUnwindSafe for InterruptHandle
impl Unpin for InterruptHandle
impl UnwindSafe for InterruptHandle
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