Cancel

Trait Cancel 

Source
pub trait Cancel<V: OdbcVersion>: Handle {
    // Provided methods
    fn SQLCancel(&self) -> SQLRETURN
       where Self: Handle<Ident = SQL_HANDLE_STMT> { ... }
    fn SQLCancelHandle(&self) -> SQLRETURN { ... }
}

Provided Methods§

Source

fn SQLCancel(&self) -> SQLRETURN
where Self: Handle<Ident = SQL_HANDLE_STMT>,

Cancels the processing on a statement. To cancel processing on a connection or statement, use SQLCancelHandle Function.

For complete documentation on SQLCancel, see API reference.

§Returns

SQL_SUCCESS, SQL_SUCCESS_WITH_INFO, SQL_ERROR, or SQL_INVALID_HANDLE.

Source

fn SQLCancelHandle(&self) -> SQLRETURN

Cancels the processing on a connection or statement. The Driver Manager maps a call to SQLCancelHandle to a call to SQLCancel when HandleType is SQL_HANDLE_STMT.

For complete documentation on SQLCancelHandle, see API reference.

§Returns

SQL_SUCCESS, SQL_SUCCESS_WITH_INFO, SQL_ERROR, or SQL_INVALID_HANDLE.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§