Struct odbc::Connection

source ·
pub struct Connection<'env> { /* private fields */ }
Expand description

Represents a connection to an ODBC data source

Implementations

true if the data source is set to READ ONLY mode, false otherwise.

This characteristic pertains only to the data source itself; it is not characteristic of the driver that enables access to the data source. A driver that is read/write can be used with a data source that is read-only. If a driver is read-only, all of its data sources must be read-only.

Closes the connection to the data source. If not called explicitly the disconnect will be invoked implicitly by drop()

Trait Implementations

Returns a valid handle to the odbc type.
Used to identify the type of the handle in various functions of the ODBC C interface
Returns a ptr to the wrapped ODBC Object

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
Returns the current values of multiple fields of a diagnostic record that contains error, warning, and status information. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.