Struct odbc::Environment [] [src]

pub struct Environment<V> { /* fields omitted */ }

Handle to an ODBC Environment

Creating an instance of this type is the first thing you do then using ODBC. The environment must outlive all connections created with it

Methods

impl Environment<Version3>
[src]

Stores all driver description and attributes in a Vec

Stores all data source server names and descriptions in a Vec

Stores all sytem data source server names and descriptions in a Vec

Stores all user data source server names and descriptions in a Vec

impl Environment<NoVersion>
[src]

Allocates a new ODBC Environment

Declares the Application's ODBC Version to be 3

Tells the driver(s) that we will use features of up to ODBC version 3

Trait Implementations

impl<V> Handle for Environment<V>
[src]

Returns a valid handle to the odbc type.