Handle

Trait Handle 

Source
pub unsafe trait Handle {
    const HANDLE_TYPE: HandleType;

    // Required method
    fn handle(&self) -> SQLHANDLE;
}
Expand description

Basic functionality for all wrappers around ODBC Handles

Required Associated Constants§

Source

const HANDLE_TYPE: HandleType

Used to identify the type of the handle in various functions of the ODBC C interface

Required Methods§

Source

fn handle(&self) -> SQLHANDLE

Returns a ptr to the wrapped ODBC Object

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§