Enum rbatis::db::DBPoolConn[][src]

pub enum DBPoolConn<'a> {
    Mysql(PoolConnection<MySql>, &'a Box<dyn DataDecoder + 'static, Global>),
    Postgres(PoolConnection<Postgres>, &'a Box<dyn DataDecoder + 'static, Global>),
    Sqlite(PoolConnection<Sqlite>, &'a Box<dyn DataDecoder + 'static, Global>),
    Mssql(PoolConnection<Mssql>, &'a Box<dyn DataDecoder + 'static, Global>),
}

Variants

Mysql(PoolConnection<MySql>, &'a Box<dyn DataDecoder + 'static, Global>)

Tuple Fields of Mysql

0: PoolConnection<MySql>1: &'a Box<dyn DataDecoder + 'static, Global>
Postgres(PoolConnection<Postgres>, &'a Box<dyn DataDecoder + 'static, Global>)

Tuple Fields of Postgres

0: PoolConnection<Postgres>1: &'a Box<dyn DataDecoder + 'static, Global>
Sqlite(PoolConnection<Sqlite>, &'a Box<dyn DataDecoder + 'static, Global>)

Tuple Fields of Sqlite

0: PoolConnection<Sqlite>1: &'a Box<dyn DataDecoder + 'static, Global>
Mssql(PoolConnection<Mssql>, &'a Box<dyn DataDecoder + 'static, Global>)

Tuple Fields of Mssql

0: PoolConnection<Mssql>1: &'a Box<dyn DataDecoder + 'static, Global>

Implementations

Trait Implementations

Formats the value using the given formatter. Read more

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

Performs the conversion.

Performs the conversion.

Should always be Self

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.