[−][src]Module quaint::connector
A set of abstractions for database connections.
Provides traits for database querying and executing, and for spawning transactions.
Connectors for MySQL, PostgreSQL and SQLite connect to the corresponding databases and implement the Queryable trait for generalized querying interface.
Structs
DBIO | The main unit of asynchronous IO. For now just a shell for a boxed |
Mysql | A connector interface for the MySQL database. |
MysqlUrl | Wraps a connection url and exposes the parsing logic used by quaint, including default values. |
PostgreSql | A connector interface for the PostgreSQL database. |
PostgresUrl | Wraps a connection url and exposes the parsing logic used by quaint, including default values. |
ResultRow | An owned version of a |
ResultRowRef | A reference to a |
ResultSet | Encapsulates a set of results and their respective column names. |
ResultSetIterator | Thin iterator for ResultSet rows. Might become lazy one day. |
Sqlite | A connector interface for the SQLite database |
SqliteParams | |
SslParams | |
Transaction | A representation of an SQL database transaction. If not commited, a transaction will be rolled back by default when dropped. |
Enums
ConnectionInfo | General information about a SQL connection. |
SqlFamily | One of the supported SQL variants. |
SslAcceptMode |
Traits
GetRow | |
Queryable | Represents a connection or a transaction that can be queried. |
TakeRow | |
ToColumnNames | |
TransactionCapable | A thing that can start a new transaction. |
ValueIndex |