diesel::connection

Trait ConnectionSealed

Source
pub trait ConnectionSealed { }
Available on crate feature i-implement-a-third-party-backend-and-opt-into-breaking-changes only.
Expand description

This trait restricts who can implement Connection

Implementors§

Source§

impl ConnectionSealed for MysqlConnection

Available on crate features mysql and mysql_backend only.
Source§

impl ConnectionSealed for PgConnection

Available on crate features postgres and postgres_backend only.
Source§

impl ConnectionSealed for SqliteConnection

Available on crate feature sqlite only.
Source§

impl<M> ConnectionSealed for PooledConnection<M>

Available on crate feature r2d2 only.