[−][src]Struct sql_support::interrupt::SqlInterruptHandle
A Sync+Send type which can be used allow someone to interrupt an operation, even if it happens while rust code (and not SQL) is executing.
Fields
db_handle: InterruptHandle
interrupt_counter: Arc<AtomicUsize>
Implementations
impl SqlInterruptHandle
[src]
pub fn new(
db_handle: InterruptHandle,
interrupt_counter: Arc<AtomicUsize>
) -> SqlInterruptHandle
[src]
db_handle: InterruptHandle,
interrupt_counter: Arc<AtomicUsize>
) -> SqlInterruptHandle
pub fn interrupt(&self)
[src]
Trait Implementations
impl IntoFfi for SqlInterruptHandle where
SqlInterruptHandle: Send,
[src]
SqlInterruptHandle: Send,
type Value = *mut SqlInterruptHandle
This type must be: Read more
fn ffi_default() -> *mut SqlInterruptHandle
[src]
fn into_ffi_value(self) -> *mut SqlInterruptHandle
[src]
Auto Trait Implementations
impl RefUnwindSafe for SqlInterruptHandle
impl Send for SqlInterruptHandle
impl Sync for SqlInterruptHandle
impl Unpin for SqlInterruptHandle
impl UnwindSafe for SqlInterruptHandle
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,